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: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.