summaryrefslogtreecommitdiff
path: root/include/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-12-01 13:39:15 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-12-01 15:10:28 -0800
commit8afa14fa78e628007a983d00efa336674e499735 (patch)
tree8a003ea8f9e9739af53858af39feb68b367621ae /include/mbgl/map
parent8a66b7047f899b781922986b63ecbe9039fcfafc (diff)
downloadqtlocation-mapboxgl-8afa14fa78e628007a983d00efa336674e499735.tar.gz
[core] Map::setSprite ⇢ Map::addAnnotationIcon
Fixes #3084
Diffstat (limited to 'include/mbgl/map')
-rw-r--r--include/mbgl/map/map.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index bce99ebe4d..5ea8c6f877 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -146,6 +146,10 @@ public:
LatLng latLngForPixel(const PrecisionPoint&) const;
// Annotations
+ void addAnnotationIcon(const std::string&, std::shared_ptr<const SpriteImage>);
+ void removeAnnotationIcon(const std::string&);
+ double getTopOffsetPixelsForAnnotationIcon(const std::string&);
+
AnnotationID addPointAnnotation(const PointAnnotation&);
AnnotationIDs addPointAnnotations(const std::vector<PointAnnotation>&);
@@ -157,11 +161,6 @@ public:
AnnotationIDs getPointAnnotationsInBounds(const LatLngBounds&);
LatLngBounds getBoundsForAnnotations(const AnnotationIDs&);
- double getTopOffsetPixelsForAnnotationSymbol(const std::string&);
-
- // Sprites
- void setSprite(const std::string&, std::shared_ptr<const SpriteImage>);
- void removeSprite(const std::string&);
// Memory
void setSourceTileCacheSize(size_t);