mapbox / mapbox-gl-js

Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
https://docs.mapbox.com/mapbox-gl-js/
Other
11.11k stars 2.21k forks source link

querySourceFeatures ( sourceId, parameters) : Is this available for invisible layers? Doc says yes, but not working #13195

Open bitcooker opened 3 months ago

bitcooker commented 3 months ago

image

stepankuzmin commented 1 week ago

Confirming this as a bug, querySourceFeatures doesn't return features if the layer visibility is set to none.