diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-12-08 14:30:42 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-12-09 13:51:28 -0800 |
commit | bde07c8f0edcc890efd7fd6993f5309d6881c402 (patch) | |
tree | 38464b4f291551d0cece8505941c3763e70bc3ab /include/mbgl | |
parent | 0346cfd865b7f26e92561efdc3fca458c88800e5 (diff) | |
download | qtlocation-mapboxgl-bde07c8f0edcc890efd7fd6993f5309d6881c402.tar.gz |
[core] Custom layers
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/map/map.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index ad13d24eb6..a6a6b5dede 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -27,6 +27,7 @@ class Transform; class PointAnnotation; class ShapeAnnotation; struct CameraOptions; +class StyleLayer; namespace util { template <class T> class Thread; @@ -162,6 +163,10 @@ public: AnnotationIDs getPointAnnotationsInBounds(const LatLngBounds&); LatLngBounds getBoundsForAnnotations(const AnnotationIDs&); + // Style API + void addLayer(std::unique_ptr<StyleLayer>); + void addLayer(std::unique_ptr<StyleLayer>, const std::string& before); + // Memory void setSourceTileCacheSize(size_t); void onLowMemory(); |