Class: MapView

MapView

new MapView()

地图显示控件容器类。
Source:

Methods

(static) addCallOut(callOut, pointName) → {Promise.<void>}

添加callout层
Parameters:
Name Type Description
callOut object callOut对象
pointName string 点名称
Source:
Returns:
Type
Promise.<void>

(static) addPoint(point2D, pointName) → {Promise.<Point2D>}

在地图上添加一个点标记
Parameters:
Name Type Description
point2D object 点标记
pointName string 点标记名称
Source:
Returns:
Type
Promise.<Point2D>

(static) getMapControl() → {Promise.<MapControl>}

获取地图控件。
Source:
Returns:
Type
Promise.<MapControl>

(static) refresh() → {Promise.<void>}

刷新地图
Source:
Returns:
Type
Promise.<void>

(static) showCallOut() → {Promise.<void>}

显示callout
Source:
Returns:
Type
Promise.<void>