[core] Custom layers
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user