diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-08-12 15:45:18 -0700 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2016-08-12 15:45:18 -0700 |
commit | e147887e357f537a5c625fd3edda7b13d64142b3 (patch) | |
tree | b1dbb6be088d91bb785ec599a4f62112ae6a05ea /src/mbgl/annotation/annotation_manager.hpp | |
parent | 272ec0c30ba1b68db3b2b9ea76659ae0a489189f (diff) | |
download | qtlocation-mapboxgl-e147887e357f537a5c625fd3edda7b13d64142b3.tar.gz |
[core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ queryPointAnnotations() (#5165)
queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view.
Fixes #5151.
Diffstat (limited to 'src/mbgl/annotation/annotation_manager.hpp')
-rw-r--r-- | src/mbgl/annotation/annotation_manager.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mbgl/annotation/annotation_manager.hpp b/src/mbgl/annotation/annotation_manager.hpp index ffe6cd163a..a0f25fdf57 100644 --- a/src/mbgl/annotation/annotation_manager.hpp +++ b/src/mbgl/annotation/annotation_manager.hpp @@ -33,8 +33,6 @@ public: Update updateAnnotation(const AnnotationID&, const Annotation&, const uint8_t maxZoom); void removeAnnotation(const AnnotationID&); - AnnotationIDs getPointAnnotationsInBounds(const LatLngBounds&) const; - void addIcon(const std::string& name, std::shared_ptr<const SpriteImage>); void removeIcon(const std::string& name); double getTopOffsetPixelsForIcon(const std::string& name); |