Class: Clean

cercaliagl.control/Clean


Provides a button that clean up the painted elements on the map related to the API's own controls.

new Clean()

Extends

Methods

Force clean. Call handle click event function.

Returns cercalia Map object

Returns:
Cercalia map.

getClass(){string} inherited

Get class name.

Returns:
Class name.

getElement(){Element} inherited

Get control HTML Element

Returns:
HTML Element

Get control id.

Returns:
Id.

getMap(){module:maplibre-gl~Map} inherited

Returns mapboxgl Map object

getName(){string|null} inherited

Get control name. Null if control has not defined name.

Returns:
Class name.

Hide control.

Show control.