How to you customize the ui of a Microsoft.Maui.Controls.Maps.Pin
The doc says:
However, setting the Pin.Type property to any PinType member does not change the appearance of the rendered pin. Instead, you must customize the Pin handler to customize pin appearance.
PinHandler does not exist.
I am using VS 17.5 preview 1 and .net7.
public partial class PinBase : Pin
(handler, view) =>
Maui do not have pinhandler, please check this document.
.NET MAUI handlers - .NET MAUI | Microsoft Learn
If you want to custom pin, you can achieve it in the map handler like this .NET MAUI Maps custom object in map Pin:
Sign in to comment