Open lumisoftusa opened 5 years ago
use the below code
1) readonly string[] _bundles = { "truck.png", "image02.png", "image03.png" };
List
2) buttonPinBundle = new List
3) pin = new Pin(); pin.Type = PinType.SearchResult; pin.Position = position1; pin.Label = "Demo MH20"; pin.Address = "Technopark Elgazala, Tunisia"; pin.Icon = BitmapDescriptorFactory.FromBundle(buttonPinBundle.FirstOrDefault());
You can see BindingPinViewPage.xaml.cs
, BindingPinView.xaml/BindingPinView.xaml.cs
in our sample apps.
https://github.com/amay077/Xamarin.Forms.GoogleMaps/tree/master/XFGoogleMapSample/XFGoogleMapSample
SUMMARY
Custom Map Marker of the PIN
DETAILS
Hi, I am trying to add Custom marker on pin without renderer , Like any Custom contentview with template etc.
PLATFORMS