Hello Morten,
Thank you so much for your reply. I am able to get location coordinates with the workaround you suggested in the above link. I have few more queries based on this same real-time user location tracking:
1. I need to get the latitude, longitude coordinates from the MapPoint that I am getting from the LocationChanged event of LocationDataSource. Do you have any idea how can I achieve this?
2. Does this real-time tracking with LocationDataSource work with offline maps as well?
3. Does this real-time tracking with LocationDataSource work when the application is in the background?
As mentioned above, I am referring the ArcGIS Show location history | ArcGIS for Developers for real-time user location trail and I have initialized my LocationDataSource with below code as suggested by you:
LocationDataSource_locationDataSource = (LocationDataSource)Activator.CreateInstance(locDStype);
MyMapView.LocationDisplay.DataSource = _locationDataSource;
Can you please help me with these queries.
Thanks in advance.