summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/circle_layer.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-07-05 12:27:00 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-07-07 14:32:27 -0700
commitc09fb0f5197be81cca8e925bcfd46c11b871b94e (patch)
treec4b6ea795e799121a49b68e273e360272be5db84 /src/mbgl/style/layers/circle_layer.cpp
parentc8e87128b1e9f1e49c486fa01533644cf14c78e8 (diff)
downloadqtlocation-mapboxgl-c09fb0f5197be81cca8e925bcfd46c11b871b94e.tar.gz
[core] Add support for circle-pitch-scale
Diffstat (limited to 'src/mbgl/style/layers/circle_layer.cpp')
-rw-r--r--src/mbgl/style/layers/circle_layer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/circle_layer.cpp b/src/mbgl/style/layers/circle_layer.cpp
index a47d723548..96cc0b610c 100644
--- a/src/mbgl/style/layers/circle_layer.cpp
+++ b/src/mbgl/style/layers/circle_layer.cpp
@@ -109,5 +109,13 @@ void CircleLayer::setCircleTranslateAnchor(PropertyValue<TranslateAnchorType> va
impl->paint.circleTranslateAnchor.set(value, klass);
}
+PropertyValue<CirclePitchScaleType> CircleLayer::getCirclePitchScale() const {
+ return impl->paint.circlePitchScale.get();
+}
+
+void CircleLayer::setCirclePitchScale(PropertyValue<CirclePitchScaleType> value, const optional<std::string>& klass) {
+ impl->paint.circlePitchScale.set(value, klass);
+}
+
} // namespace style
} // namespace mbgl