summaryrefslogtreecommitdiff
path: root/include/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-12-17 14:39:19 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-12-17 15:15:55 -0800
commit110f1ec796ab46e4f16bcf9673f0aa89ae153aeb (patch)
treebee9af94074a24ec4b3ae757047747b5da1625bf /include/mbgl/map
parentd3c92a8b5cf9a5ac89320c66cf58ff9f84ab28ee (diff)
downloadqtlocation-mapboxgl-110f1ec796ab46e4f16bcf9673f0aa89ae153aeb.tar.gz
[ios, android] Add methods to remove a custom layer
Diffstat (limited to 'include/mbgl/map')
-rw-r--r--include/mbgl/map/map.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index f8c3f4a172..2be31b5db6 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -174,6 +174,7 @@ public:
CustomLayerDeinitializeFunction,
void* context,
const char* before = nullptr);
+ void removeCustomLayer(const std::string& id);
// Memory
void setSourceTileCacheSize(size_t);