mapbox/mapbox-gl-js

hasFeatures function

Open

#7813 aperta il 24 gen 2019

Vedi su GitHub
 (11 commenti) (0 reazioni) (0 assegnatari)JavaScript (2203 fork)batch import
feature :green_apple:good first issueneeds discussion :speech_balloon:

Metriche repository

Star
 (10.532 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Would it be possible to add a function that checks if there are any features in a query? It would work like queryRenderedFeatures but only return true or false.

This would make it more efficient to query if there are any areas under the mousepointer for changing the cursor style.

Guida contributor