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

Method setGeometry

src/openlayers/overlay/graphic/Graphic.js:78–80  ·  view source on GitHub ↗

* @function OverlayGraphic.prototype.setGeometry * @description 设置当前要素几何信息。 * @param {ol.geom.Point} geometry - 要素几何信息。

(geometry)

Source from the content-addressed store, hash-verified

76 * @param {ol.geom.Point} geometry - 要素几何信息。
77 */
78 setGeometry(geometry) {
79 this.geometry_ = geometry;
80 }
81
82 /**
83 * @function OverlayGraphic.prototype.setAttributes

Callers 2

cloneMethod · 0.95
olExtendsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected