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.

贡献者指南