Language

Map.ClusterImageSource Property

Definition

Gets or sets a static custom icon used for every cluster marker when clustering is enabled. Ignored if ClusterImageProvider returns a non-null image for a cluster. When null (and no provider image is returned) the default cluster marker is used. This is a bindable property.

public:
 property Microsoft::Maui::Controls::ImageSource ^ ClusterImageSource { Microsoft::Maui::Controls::ImageSource ^ get(); void set(Microsoft::Maui::Controls::ImageSource ^ value); };
public Microsoft.Maui.Controls.ImageSource? ClusterImageSource { get; set; }
member this.ClusterImageSource : Microsoft.Maui.Controls.ImageSource with get, set
Public Property ClusterImageSource As ImageSource

Property Value

Remarks

No pin count is drawn over the image. Each platform scales it to a marker-sized icon (Android fits within 64 pixels, iOS within 32 points), matching ImageSource. Changing this value rebuilds existing cluster markers immediately.

Applies to