summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/style_sourced_annotation_impl.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-01 17:29:50 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-01 17:37:01 -0700
commit3689f52ef3f001450dd2480f5a985568efefe819 (patch)
tree90cd0af73308b7139bbfd643fd3f5bdda34a06a8 /src/mbgl/annotation/style_sourced_annotation_impl.hpp
parent8068424f3040b97b23e2e09a9279ebc221284c2e (diff)
downloadqtlocation-mapboxgl-3689f52ef3f001450dd2480f5a985568efefe819.tar.gz
[core] Constrain annotation API to the supported geometry types
Diffstat (limited to 'src/mbgl/annotation/style_sourced_annotation_impl.hpp')
-rw-r--r--src/mbgl/annotation/style_sourced_annotation_impl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/annotation/style_sourced_annotation_impl.hpp b/src/mbgl/annotation/style_sourced_annotation_impl.hpp
index 734f6c8290..98e9910c66 100644
--- a/src/mbgl/annotation/style_sourced_annotation_impl.hpp
+++ b/src/mbgl/annotation/style_sourced_annotation_impl.hpp
@@ -10,7 +10,7 @@ public:
StyleSourcedAnnotationImpl(const AnnotationID, const StyleSourcedAnnotation&, const uint8_t maxZoom);
void updateStyle(Style&) const final;
- const Geometry<double>& geometry() const final;
+ const ShapeAnnotationGeometry& geometry() const final;
private:
const StyleSourcedAnnotation annotation;