Click handlers for a clustered POI source.
The two cases are distinct on purpose: clicking a cluster usually zooms in, clicking a point opens a feature. Both receive the coordinates so a popup can be anchored without a second lookup.
Optional
Called when an unclustered point is clicked. Receives the feature and coordinates.
Called when a cluster is clicked. Receives the cluster feature and coordinates.
Click handlers for a clustered POI source.
The two cases are distinct on purpose: clicking a cluster usually zooms in, clicking a point opens a feature. Both receive the coordinates so a popup can be anchored without a second lookup.