mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-25 16:02:50 +00:00
Fire pointer events even if no interactive features are involved (#1895)
This commit is contained in:
parent
268b59849e
commit
9dbe4f0f6c
@ -810,9 +810,6 @@ export default class Mapbox {
|
||||
this._map.queryRenderedFeatures(e.point, {
|
||||
layers: this.props.interactiveLayerIds
|
||||
});
|
||||
if (!features.length) {
|
||||
return;
|
||||
}
|
||||
e.features = features;
|
||||
}
|
||||
cb(e);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user