add ability to set custom sprites on the Map object

This commit is contained in:
Konstantin Käfer
2015-07-02 17:44:32 +02:00
parent 70d0a26f98
commit f9601ae685
6 changed files with 60 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ class View;
class MapData;
class MapContext;
class StillImage;
class SpriteImage;
class Transform;
class PointAnnotation;
class ShapeAnnotation;
@@ -141,6 +142,10 @@ public:
AnnotationIDs getAnnotationsInBounds(const LatLngBounds&, const AnnotationType& = AnnotationType::Any);
LatLngBounds getBoundsForAnnotations(const AnnotationIDs&);
// Sprites
void setSprite(const std::string&, std::shared_ptr<const SpriteImage>);
void removeSprite(const std::string&);
// Memory
void setSourceTileCacheSize(size_t);
void onLowMemory();