removeFromMap

open fun removeFromMap()

Call this function to remove all MapLayers of a FloorLayer from the map. This means all MapLayers can still contain a list of elements, but it doesn't have a vector layer to show on the map. For deferred floors (no native layers), this is a no-op since there are no layers to remove.