Skip to content

GetGeoLocationAsync

cs
var pos = await LocationHelper.GetGeoLocationAsync();
if (pos == null)
    return;

var latitude = pos.Coordinate.Point.Position.Latitude;
var longitude = pos.Coordinate.Point.Position.Longitude;

Demo

you can run demo and see this feature.

Released under the MIT License.