概述
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
Evented
Evented
继承了该类的子类会拥有事件处理的能力。
方法
方法
返回值
描述
on(type: string,listener: Function)
this
绑定事件
off(type: string,listener: Function)
this
取消事件绑定
once(type: string,listener: Function)
this
绑定一个仅执行一次的事件
results matching "
"
No results matching "
"