概述
WmapGL API参考
核心类
Map
Marker
Popup
控件
IControl
NavigationControl
ScaleControl
FullscreenControl
数据源
GeoJSONSource
VideoSource
ImageSource
CanvasSource
数据类型
LngLat
LngLatLike
LngLatBounds
事件
Evented
MapMouseEvent
MapTouchEvent
MapZoomEvent
MapDataEvent
MapWheelEvent
Published with GitBook
NavigationControl
NavigationControl
导航控件,包括缩放按钮和指南针。
构造函数
new NavigationControl(options: Object?)
构造选项
选项名
类型
默认值
描述
showCompass
boolean
true
指南针是否显示
showZoom
boolean
true
放到缩小是否显示
visualizePitch
boolean
false
旋转指南针的Y轴来显示俯仰角度
results matching "
"
No results matching "
"