I need to create a custom pin that has BorderColor
, FillColor
and Text
properties as shown:
can it be designed and shared via SkiaSharp, or I have to design it for each platform?
more detail on how it can be created is greatly appreciated!
@mshwf said:
@ColeX said:
You can customize map pin(display info window) in custom renderer for each platform .iOS : Displaying the Annotation .
Android : Customizing the Info Window .
UWP : Displaying the UserControl .
But it uses images! how can I customize colors of the pins and add text inside the pin
Create a UIView which contains an image and a label ,convert the view to image , refer Xamarin IOS - Returns a UIView as a UIImage .
Do the same thing on Android .
Answers
You can customize map pin(display info window) in custom renderer for each platform .
iOS : Displaying the Annotation .
Android : Customizing the Info Window .
UWP : Displaying the UserControl .
But it uses images! how can I customize colors of the pins and add text inside the pin
Create a UIView which contains an image and a label ,convert the view to image , refer Xamarin IOS - Returns a UIView as a UIImage .
Do the same thing on Android .