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

Method redraw

src/openlayers/overlay/Graph.js:414–421  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

412 * @description 重绘该图层。
413 */
414 redraw() {
415 this.clearCache();
416 if (this.renderer) {
417 this.redrawThematicFeatures(this.map.getView().calculateExtent());
418 return true;
419 }
420 return false
421 }
422
423 /**
424 * @function Graph.prototype.clear

Callers 15

setChartsTypeMethod · 0.95
MapVLayerSpec.jsFile · 0.45
GraphSpec.jsFile · 0.45
setMapMethod · 0.45
drawMethod · 0.45
TiledMapLayer.jsFile · 0.45
Base.jsFile · 0.45
UnicodeMarker.jsFile · 0.45
GraphThemeLayer.jsFile · 0.45

Calls 3

clearCacheMethod · 0.95
getViewMethod · 0.80

Tested by

no test coverage detected