MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / getLngLat

Method getLngLat

src/mapboxgl/overlay/graphic/Graphic.js:60–62  ·  view source on GitHub ↗

* @function Graphic.prototype.getLngLat * @description 获取经纬度坐标。 * @returns {Object} 经纬度坐标,数据格式{lng,lat}。

()

Source from the content-addressed store, hash-verified

58 * @returns {Object} 经纬度坐标,数据格式{lng,lat}。
59 */
60 getLngLat() {
61 return this.lngLat;
62 }
63
64 /**
65 * @function Graphic.prototype.setLngLat

Callers 4

GraphicSpec.jsFile · 0.45
GraphicSpec.jsFile · 0.45
initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected