Class: Clean

cercalia.Control.Clean

This control let you clean all the elements painted on the map. This control doesn't clean other markers or features added with other controls, like cercalia.MapControls.Traffic, cercalia.MapControls.Meteo ...

Extends

Methods

Executes the control action. Cleans the map overlays

Returns:
class

Obtain the control DOM element

Returns:
DOM Element

Returns the control name

Returns:
Control name

Hide the control

Create the button in the tools topbar

Name Type Description
idTopBar string

Div element ID where the control will be embedded

Shows the control