diff options
-rw-r--r-- | src/mbgl/map/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index 493c7378cd..46ccc7216e 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -947,7 +947,7 @@ std::unique_ptr<Layer> Map::removeLayer(const std::string& id) { BackendScope guard(impl->backend); auto removedLayer = impl->style->removeLayer(id); - impl->onUpdate(Update::Classes); + impl->onUpdate(Update::Repaint); return removedLayer; } |