summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_manager.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-02-02 20:20:47 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-02 20:20:47 -0800
commit032c8fba3c8e3c122dd399b5c9341d92ad9d286f (patch)
tree1b38001c084df2c81a73ca7f63b77d285019db1e /src/mbgl/annotation/annotation_manager.cpp
parentb78bc7c555165f654866a1c6c962955add52473f (diff)
downloadqtlocation-mapboxgl-032c8fba3c8e3c122dd399b5c9341d92ad9d286f.tar.gz
[core] Remove unused
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;