mapbox/mapbox-gl-js

hasFeatures function

Open

#7 813 ouverte le 24 janv. 2019

Voir sur GitHub
 (11 commentaires) (0 réactions) (0 assignés)JavaScript (2 203 forks)batch import
feature :green_apple:good first issueneeds discussion :speech_balloon:

Métriques du dépôt

Stars
 (10 532 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur