queryVisibleFeatures Method

Query which Features are currently visible within the viewport.

queryVisibleFeatures(options: QueryVisibleFeaturesOptions, callback: QueryVisibleFeaturesCallback): void

note This function may be slow, especially if the features are being queried from screen pixels. Avoid calling it repeatedly in rapid succession.

Parameter Type Description
options QueryVisibleFeaturesOptions Specifies how to query.
callback QueryVisibleFeaturesCallback Callback to invoke with the results.

Returns - void

Defined in

Last Updated: 30 November, 2023