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

Method remove

src/openlayers/overlay/FGB.js:65–70  ·  view source on GitHub ↗
(feature)

Source from the content-addressed store, hash-verified

63 }
64
65 remove(feature) {
66 const index = this.features.indexOf(feature);
67 if (index !== -1) {
68 this.features.splice(index, 1);
69 }
70 }
71}
72
73export class FGB extends VectorSource {

Callers 2

_removeLayersMethod · 0.45
collapseMethod · 0.45

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected