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

Method update

src/openlayers/overlay/Graphic.js:387–389  ·  view source on GitHub ↗

* @function Graphic.prototype.update * @description 更新图层。

()

Source from the content-addressed store, hash-verified

385 * @description 更新图层。
386 */
387 update() {
388 this.renderer.update(this.graphics, this._getDefaultStyle());
389 }
390
391 _getDefaultStyle() {
392 const target = {};

Callers 4

setGraphicsMethod · 0.95
addGraphicsMethod · 0.95
removeGraphicsMethod · 0.95
setStyleMethod · 0.45

Calls 1

_getDefaultStyleMethod · 0.95

Tested by

no test coverage detected