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

Method redraw

src/mapboxgl/overlay/GraphThemeLayer.js:392–399  ·  view source on GitHub ↗

* @function GraphThemeLayer.prototype.redraw * @description 重绘该图层。

()

Source from the content-addressed store, hash-verified

390 * @description 重绘该图层。
391 */
392 redraw() {
393 this.clearCache();
394 if (this.renderer) {
395 this.redrawThematicFeatures(this.map.getBounds());
396 return true;
397 }
398 return false
399 }
400
401 /**
402 * @function GraphThemeLayer.prototype.clear

Callers 2

setChartsTypeMethod · 0.95
setSymbolTypeMethod · 0.45

Calls 3

clearCacheMethod · 0.95
getBoundsMethod · 0.45

Tested by

no test coverage detected