Sir,
Working on Xamarin.Android app on Visual Studio. I have got the users current location on Google Map. Also I would need to add my custom Lat & Lang values on Google Map with User Current Location. Then I would need to draw a path between UserLocation & Custom Lat&Lang values. How should I do this. kindly suggest the demo if available or any guidance....
Answers
If you're using the Google Maps API Nuget, This is how I add a Pin to the Map
previewLocations.Pins.Add(new Pin { Position = new Position(LAT, LNG), Label = item.pon, Type = PinType.Place, Tag = item.sdn });
This is how to draw a path.
and then add it to the Polylines in the Map.
I am using GooglePlay Services package for this. In which method should I have to add this code ?