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

Method clearData

src/openlayers/overlay/mapv/MapvLayer.js:268–273  ·  view source on GitHub ↗

* @function MapvLayer.prototype.clearData * @description 清除数据。

()

Source from the content-addressed store, hash-verified

266 * @description 清除数据。
267 */
268 clearData() {
269 this.dataSet && this.dataSet.clear();
270 this.update({
271 options: null
272 });
273 }
274
275 _canvasUpdate(time) {
276 if (!this.canvasLayer) {

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected