summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/annotation/annotation_manager.cpp')
-rw-r--r--src/mbgl/annotation/annotation_manager.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mbgl/annotation/annotation_manager.cpp b/src/mbgl/annotation/annotation_manager.cpp
index 1d9c021fa6..52f8b08ad3 100644
--- a/src/mbgl/annotation/annotation_manager.cpp
+++ b/src/mbgl/annotation/annotation_manager.cpp
@@ -71,20 +71,6 @@ AnnotationIDs AnnotationManager::getPointAnnotationsInBounds(const LatLngBounds&
return result;
}
-LatLngBounds AnnotationManager::getBoundsForAnnotations(const AnnotationIDs& ids) const {
- LatLngBounds result = LatLngBounds::getExtendable();
-
- for (const auto& id : ids) {
- if (pointAnnotations.find(id) != pointAnnotations.end()) {
- result.extend(pointAnnotations.at(id)->bounds());
- } else if (shapeAnnotations.find(id) != shapeAnnotations.end()) {
- result.extend(shapeAnnotations.at(id)->bounds());
- }
- }
-
- return result;
-}
-
std::unique_ptr<AnnotationTile> AnnotationManager::getTile(const TileID& tileID) {
if (pointAnnotations.empty() && shapeAnnotations.empty())
return nullptr;