diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-01 17:29:50 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-01 17:37:01 -0700 |
commit | 3689f52ef3f001450dd2480f5a985568efefe819 (patch) | |
tree | 90cd0af73308b7139bbfd643fd3f5bdda34a06a8 /src/mbgl/annotation/line_annotation_impl.cpp | |
parent | 8068424f3040b97b23e2e09a9279ebc221284c2e (diff) | |
download | qtlocation-mapboxgl-3689f52ef3f001450dd2480f5a985568efefe819.tar.gz |
[core] Constrain annotation API to the supported geometry types
Diffstat (limited to 'src/mbgl/annotation/line_annotation_impl.cpp')
-rw-r--r-- | src/mbgl/annotation/line_annotation_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/annotation/line_annotation_impl.cpp b/src/mbgl/annotation/line_annotation_impl.cpp index e22c36bcbe..5bcc142a5b 100644 --- a/src/mbgl/annotation/line_annotation_impl.cpp +++ b/src/mbgl/annotation/line_annotation_impl.cpp @@ -30,7 +30,7 @@ void LineAnnotationImpl::updateStyle(Style& style) const { style.addLayer(std::move(layer), AnnotationManager::PointLayerID); } -const Geometry<double>& LineAnnotationImpl::geometry() const { +const ShapeAnnotationGeometry& LineAnnotationImpl::geometry() const { return annotation.geometry; } |