mapbox/mapbox-gl-js

hasFeatures function

Aberta

#7.813 aberto em 24 de jan. de 2019

 (11 comentários) (0 reação) (0 responsável)JavaScript (2.203 forks)batch import
feature :green_apple:good first issueneeds discussion :speech_balloon:

Métricas do repositório

Stars
 (10.532 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador