amay077 / Xamarin.Forms.GoogleMaps

Map library for Xamarin.Forms using Google maps API
https://www.nuget.org/packages/Xamarin.Forms.GoogleMaps/
MIT License
546 stars 346 forks source link

Get coordinates and bearing if MyLocationEnabled is set to true #689

Closed woemike closed 4 years ago

woemike commented 4 years ago

SUMMARY

I would like to get location coordinates and bearing if MyLocationEnabled = true.

DETAILS

An event like OnLocationChanged() which will provide coordinates of location + bearing

PLATFORMS

amay077 commented 4 years ago

We can't support it because OnMyLocationChangeListener in Google Maps SDK for Android does not support.

https://developers.google.com/android/reference/com/google/android/gms/maps/GoogleMap.OnMyLocationChangeListener.html

I have a plan to LocationSource support that can using your own location source.

https://developers.google.com/android/reference/com/google/android/gms/maps/LocationSource