Map.ClusterImageSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.