diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-12-01 13:39:15 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-12-01 15:10:28 -0800 |
commit | 8afa14fa78e628007a983d00efa336674e499735 (patch) | |
tree | 8a003ea8f9e9739af53858af39feb68b367621ae /src/mbgl/annotation/annotation_manager.hpp | |
parent | 8a66b7047f899b781922986b63ecbe9039fcfafc (diff) | |
download | qtlocation-mapboxgl-8afa14fa78e628007a983d00efa336674e499735.tar.gz |
[core] Map::setSprite ⇢ Map::addAnnotationIcon
Fixes #3084
Diffstat (limited to 'src/mbgl/annotation/annotation_manager.hpp')
-rw-r--r-- | src/mbgl/annotation/annotation_manager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/annotation/annotation_manager.hpp b/src/mbgl/annotation/annotation_manager.hpp index 9fbbcc57c8..4b5742c6f7 100644 --- a/src/mbgl/annotation/annotation_manager.hpp +++ b/src/mbgl/annotation/annotation_manager.hpp @@ -33,8 +33,8 @@ public: AnnotationIDs getPointAnnotationsInBounds(const LatLngBounds&) const; LatLngBounds getBoundsForAnnotations(const AnnotationIDs&) const; - void setSprite(const std::string& name, std::shared_ptr<const SpriteImage>); - double getTopOffsetPixelsForAnnotationSymbol(const std::string& name); + void addIcon(const std::string& name, std::shared_ptr<const SpriteImage>); + double getTopOffsetPixelsForIcon(const std::string& name); SpriteAtlas& getSpriteAtlas() { return spriteAtlas; } void updateStyle(Style&); |