[core] Custom layers

This commit is contained in:
John Firebaugh
2015-12-08 14:30:42 -08:00
parent 0346cfd865
commit bde07c8f0e
17 changed files with 274 additions and 56 deletions

View File

@@ -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();