Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to customize user location pin (Xamarin Forms Google Map)

$
0
0

All is in the title, I just want to customise the user location pin with the package Xamarin.Forms.GoogleMaps on IOS.

I've already tried this but it doesn't work at all and the user location pin is always the default.

Map_Pharmacy.Pins.Add(new Pin
{
Type = PinType.Place,
Label = pharmacy.Name,
Position = pharmacyPosition,
Tag = pharmacy.Id,
Icon = BitmapDescriptorFactory.FromBundle("UserLocation"),
});

Note that I use the Asset Catalog. The same code for other pins works well. Only user location pin seem impossible to customise...~~~~


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>