Geolocation
How to Use
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
// Get location and show location information in an AlertBox on button click
private async void button1_Click(object sender, EventArgs e)
{
var position = await this.geolocation1.GetCurrentPositionAsync();
AlertBox.Show(position.ToJSON());
}