(bbox, cb)
| 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; |
no test coverage detected