diff options
Diffstat (limited to 'src/mbgl/annotation/shape_annotation_impl.cpp')
-rw-r--r-- | src/mbgl/annotation/shape_annotation_impl.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mbgl/annotation/shape_annotation_impl.cpp b/src/mbgl/annotation/shape_annotation_impl.cpp index 40f5d1997c..418d3adaed 100644 --- a/src/mbgl/annotation/shape_annotation_impl.cpp +++ b/src/mbgl/annotation/shape_annotation_impl.cpp @@ -147,16 +147,4 @@ void ShapeAnnotationImpl::updateTile(const TileID& tileID, AnnotationTile& tile) } } -LatLngBounds ShapeAnnotationImpl::bounds() const { - LatLngBounds result; - - for (const auto& segment : shape.segments) { - for (const auto& point : segment) { - result.extend(point); - } - } - - return result; -} - } // namespace mbgl |