[ios, android] Add methods to remove a custom layer
This commit is contained in:
@@ -449,6 +449,10 @@ void Map::addCustomLayer(const std::string& id,
|
||||
before ? std::string(before) : mapbox::util::optional<std::string>());
|
||||
}
|
||||
|
||||
void Map::removeCustomLayer(const std::string& id) {
|
||||
context->invoke(&MapContext::removeLayer, id);
|
||||
}
|
||||
|
||||
#pragma mark - Toggles
|
||||
|
||||
void Map::setDebug(MapDebugOptions mode) {
|
||||
|
||||
Reference in New Issue
Block a user