I am using the runtime in Xamarin forms and wanted to know if there is any way to easily get the current device location with out actually creating a map view? I am familiar with using the LocationDisplay class (arcgis-runtime-samples-dotnet/src/Forms/Shared/Samples/Location/DisplayDeviceLocation at master · Es... ) to show the users location on the map but I would like to just get the coordinates without displaying the map.
When the user presses a button on my form I would like to get the x/y for the users current location and save it to my database. I do not need to actually display a map at the time the user is clicking the button. I know its possible to use a xamarin plugin such as this:NuGet Gallery | Xam.Plugin.Geolocator 4.1.2 but I would really like to avoid adding another nuget package to my project since the the ArcGIS runtime is obviously capable of getting the device coordinates to display on the map.
Solved! Go to Solution.