MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / setId

Method setId

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

* @function Graphic.prototype.setId * @description 设置当前要素 ID。 * @param {string} id - 要素 ID。

(id)

Source from the content-addressed store, hash-verified

49 */
50
51 setId(id) {
52 this.id = id;
53 }
54
55 /**
56 * @function Graphic.prototype.getLngLat

Callers 14

creatGraphicLayerFunction · 0.45
GraphicSpec.jsFile · 0.45
GraphicSpec.jsFile · 0.45
creatGraphicLayerFunction · 0.45
GraphicSpec.jsFile · 0.45
MapExtendSpec.jsFile · 0.45
GraphicSpec.jsFile · 0.45
GraphicSpec.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected