mapbox/mapbox-gl-js

hasFeatures function

開放

#7,813 建立於 2019年1月24日

 (11 則留言) (0 個反應) (0 位負責人)JavaScript (2,203 個分叉)batch import
feature :green_apple:good first issueneeds discussion :speech_balloon:

倉庫指標

星標
 (10,532 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南