ClearAllButton

open class ClearAllButton : FUIMapToolbarButton

FUIMapToolbar.ClearAllButton inherits from the FUIButton class and is presented within the FUIMapToolbar. This moves the floorplan panels (detail panel & legend) out of view to see more of the map.

Available in FUIMapToolbar.ClearAllButton:

Usage:

let toolbar = FUIMapToolbar(mapView: mapView)
let clearAllButton = FUIMapToolbar.ClearAllButton(mapFloorplan: self)
toolbar.items = [clearAllButton]