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

Method clear

src/leaflet/overlay/mapv/MapVRenderer.js:372–374  ·  view source on GitHub ↗

* @function MapVRenderer.prototype.clear * @description 清除信息。 * @param {string} context - 指定要清除的信息。

(context)

Source from the content-addressed store, hash-verified

370 * @param {string} context - 指定要清除的信息。
371 */
372 clear(context) {
373 context && context.clearRect && context.clearRect(0, 0, context.canvas.width, context.canvas.height);
374 }
375
376 _hide() {
377 this.canvasLayer.canvas.style.display = 'none';

Callers 6

_canvasUpdateMethod · 0.95
EChartsLayer.jsFile · 0.45
FGBLayer.jsFile · 0.45
WebGLRenderer.jsFile · 0.45
ThemeLayer.jsFile · 0.45
clearDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected