mapbox/mapbox-gl-js

hasFeatures function

Offen

#7.813 geöffnet am 24.01.2019

 (11 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.203 Forks)batch import
feature :green_apple:good first issueneeds discussion :speech_balloon:

Repository-Metriken

Stars
 (10.532 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide