diff --git a/src/selection.js b/src/selection.js index adcee839a..7d738dad9 100644 --- a/src/selection.js +++ b/src/selection.js @@ -70,7 +70,6 @@ export default class FeatureSelection { // Queue requests for feature selection, and they will be picked up by the render loop this.selection_request_id = (this.selection_request_id + 1) || 0; this.requests[this.selection_request_id] = { - type: 'point', id: this.selection_request_id, point, resolve, @@ -125,11 +124,6 @@ export default class FeatureSelection { continue; } - // TODO: support other selection types, such as features within a box - if (request.type !== 'point') { - continue; - } - // Check selection map against FBO gl.readPixels( Math.floor(request.point.x * this.fbo_size.width),