ui.Map.clear

Clears the map by removing all layers, listeners, and widgets and restoring the options to their defaults.

Returns the map.

Usage Returns
Map. clear () ui.Map
Argument Type Details
this: ui.map
ui.Map The ui.Map instance.
Create a Mobile Website
View Site in Mobile | Classic
Share by: