mapbox/mapbox-gl-js

hasFeatures function

オープン

#7,813 opened on 2019/01/24

 (11 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (2,203 件のフォーク)batch import
feature :green_apple:good first issueneeds discussion :speech_balloon:

Repository metrics

Stars
 (10,532 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド