ui.Map.clear

通过移除所有图层、监听器和 widget 并将选项恢复为默认值来清除地图。

返回地图。

用法返回
Map.clear()ui.Map
参数类型详细信息
此:ui.mapui.Mapui.Map 实例。