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

Method setPosition

src/mapboxgl/overlay/ThreeLayer.js:184–186  ·  view source on GitHub ↗

* @function ThreeLayer.prototype.setPosition * @description 设置 threejs 3D 对象的坐标(经纬度)。 * @param {THREE.Object3D} object3D - threejs 3D 对象及子类对象。 * @param {(Array. |Object)} coordinate - 添加的 three 对象坐标(经纬度)。 * @returns {ThreeLayer} ThreeLayer的实例对象。

(object3D, coordinate)

Source from the content-addressed store, hash-verified

182 * @returns {ThreeLayer} ThreeLayer的实例对象。
183 */
184 setPosition(object3D, coordinate) {
185 return this.renderer.setPosition(object3D, coordinate);
186 }
187
188
189 /**

Callers 15

ThreeLayerSpec.jsFile · 0.45
ThreeLayerSpec.jsFile · 0.45
GraphicLayer.jsFile · 0.45
HeatMapLayer.jsFile · 0.45
MapVLayer.jsFile · 0.45
ThemeLayer.jsFile · 0.45
mapv.min.jsFile · 0.45
mapv.jsFile · 0.45
nFunction · 0.45
mFunction · 0.45
ol.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected