IMap.ClusterClicked(IReadOnlyList<IMapPin>, Location) Method

Definition

Method called by the handler when a cluster is clicked.

public:
 bool ClusterClicked(System::Collections::Generic::IReadOnlyList<Microsoft::Maui::Maps::IMapPin ^> ^ pins, Microsoft::Maui::Devices::Sensors::Location ^ location);
public bool ClusterClicked(System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Maps.IMapPin> pins, Microsoft.Maui.Devices.Sensors.Location location);
abstract member ClusterClicked : System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Maps.IMapPin> * Microsoft.Maui.Devices.Sensors.Location -> bool
Public Function ClusterClicked (pins As IReadOnlyList(Of IMapPin), location As Location) As Boolean

Parameters

pins
IReadOnlyList<IMapPin>

The pins in the cluster.

location
Location

The location of the cluster.

Returns

true if the click was handled and default behavior should be suppressed; otherwise false.

Applies to