summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/line_layer.cpp
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2016-11-10 15:02:13 +0100
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2016-11-11 20:18:16 +0100
commit39b0bc0a402248e29791f93aeab5a6234bf80862 (patch)
tree5070bd07901a366801a0bc0d575251a4a01c3f4c /src/mbgl/style/layers/line_layer.cpp
parent517db640ab718929aba0787c985ff007a81f30d9 (diff)
downloadqtlocation-mapboxgl-39b0bc0a402248e29791f93aeab5a6234bf80862.tar.gz
[core] symbol layer - recalculate style on icon/text size changes
Diffstat (limited to 'src/mbgl/style/layers/line_layer.cpp')
-rw-r--r--src/mbgl/style/layers/line_layer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mbgl/style/layers/line_layer.cpp b/src/mbgl/style/layers/line_layer.cpp
index 100ee7247f..49ecf63c18 100644
--- a/src/mbgl/style/layers/line_layer.cpp
+++ b/src/mbgl/style/layers/line_layer.cpp
@@ -71,7 +71,7 @@ void LineLayer::setLineCap(PropertyValue<LineCapType> value) {
if (value == getLineCap())
return;
impl->layout.lineCap.set(value);
- impl->observer->onLayerLayoutPropertyChanged(*this);
+ impl->observer->onLayerLayoutPropertyChanged(*this, "line-cap");
}
PropertyValue<LineJoinType> LineLayer::getDefaultLineJoin() {
return { LineJoinType::Miter };
@@ -85,7 +85,7 @@ void LineLayer::setLineJoin(PropertyValue<LineJoinType> value) {
if (value == getLineJoin())
return;
impl->layout.lineJoin.set(value);
- impl->observer->onLayerLayoutPropertyChanged(*this);
+ impl->observer->onLayerLayoutPropertyChanged(*this, "line-join");
}
PropertyValue<float> LineLayer::getDefaultLineMiterLimit() {
return { 2 };
@@ -99,7 +99,7 @@ void LineLayer::setLineMiterLimit(PropertyValue<float> value) {
if (value == getLineMiterLimit())
return;
impl->layout.lineMiterLimit.set(value);
- impl->observer->onLayerLayoutPropertyChanged(*this);
+ impl->observer->onLayerLayoutPropertyChanged(*this, "line-miter-limit");
}
PropertyValue<float> LineLayer::getDefaultLineRoundLimit() {
return { 1 };
@@ -113,7 +113,7 @@ void LineLayer::setLineRoundLimit(PropertyValue<float> value) {
if (value == getLineRoundLimit())
return;
impl->layout.lineRoundLimit.set(value);
- impl->observer->onLayerLayoutPropertyChanged(*this);
+ impl->observer->onLayerLayoutPropertyChanged(*this, "line-round-limit");
}
// Paint properties