Skip to content

ClusterPopoverContext Type documentation

Context supplied to custom cluster popover templates, including all locations loaded so far.
Properties
All loaded original point features, exposed by an unqualified let-features binding.
$implicit: readonly ClusterPoint[]
Closes the popover using the same behavior as its Close button.
close: () => void
Selected cluster feature, including its cluster_id and point_count properties.
cluster: ClusterPoint
Error from a failed batch request, or undefined when no error is available.
error: unknown
The same accumulated features as $implicit , exposed by let-features="features" .
features: readonly ClusterPoint[]
Whether the initial batch, an additional batch, or a retry is being loaded.
loading: boolean
Total number of locations in the selected cluster, including locations not yet loaded.
total: number

Types Documentation

A point feature consumed by the clustered MapLibre source.
imported from @types/geojson
imported from @types/geojson
imported from @types/geojson

Except where otherwise noted, content on this site is licensed under MIT License.