Open kylebarron opened 4 years ago
I.e.:
const features = this.map.queryRenderedFeatures( [ [x - pickingRadius, y - pickingRadius], [x + pickingRadius, y + pickingRadius] ], { layers: interactiveLayerIds } );
Should be faster than checking all layers, and then filtering.
I.e.:
Should be faster than checking all layers, and then filtering.