new Picking(map)
tools/Picking.js, line 25
构造一个Picking对象
Name | Type | Description |
---|---|---|
map |
Map |
提取坐标的地图对像 |
Classes
Methods
-
removeInteraction()
tools/Picking.js, line 108 -
关闭坐标拾取状态,但不清除已拾取添加的点位及动画
-
turnOff()
tools/Picking.js, line 96 -
关闭坐标拾取
-
turnOn(isSingle, callBackFun){Array}
tools/Picking.js, line 85 -
开启坐标拾取
Name Type Description isSingle
Boolean 是否为单次坐标拾取
callBackFun
function 回调函数
Returns:
Type Description Array 提取的坐标数组