diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-02 20:20:47 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-02 20:20:47 -0800 |
commit | 032c8fba3c8e3c122dd399b5c9341d92ad9d286f (patch) | |
tree | 1b38001c084df2c81a73ca7f63b77d285019db1e /src/mbgl/annotation/shape_annotation_impl.cpp | |
parent | b78bc7c555165f654866a1c6c962955add52473f (diff) | |
download | qtlocation-mapboxgl-032c8fba3c8e3c122dd399b5c9341d92ad9d286f.tar.gz |
[core] Remove unused
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 |