QueryVisibleFeaturesCallback Type

QueryVisibleFeaturesCallback = (features: Iterable<VisibleFeature>) => void

A function supplied to queryVisibleFeatures to process the results. The iterable supplied to the callback consists of all of the Features determined to be visible. The same feature may recur multiple times.

@note The iterable supplied to the callback is usable only within the callback. Once the callback exits, the iterable becomes empty.

Defined in

Last Updated: 17 December, 2024