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

Method boxSelect

test/tool/mock_l7.js:248–256  ·  view source on GitHub ↗
(bbox, cb)

Source from the content-addressed store, hash-verified

246 off() {}
247
248 boxSelect(bbox, cb) {
249 if (this.layerSource.originData.features instanceof Array) {
250 return cb(this.layerSource.originData.features);
251 }
252 if (!(this.layerSource.originData instanceof Array)) {
253 return cb();
254 }
255 return cb(this.layerSource.originData);
256 }
257
258 isVisible() {
259 return this.rawConfig.visible !== false;

Callers 2

queryRenderedFeaturesMethod · 0.80
queryRenderedFeaturesMethod · 0.80

Calls 1

cbFunction · 0.50

Tested by

no test coverage detected