Geolocation allows you to add map co-ordinates to a button, which will then launch a map view when tapped. The map view will then add a pin to the specified co-ordinates. This allows you to show users a specific place on a map.
- Add the geolocation icon to your page and select it.
- Open the Button window and click ‘convert to button’.
- Add the ‘Go to URL’ action.
- Enter the URL: geolocation://map?lat=51.281251&lon=-1.059063 (Bold text is changeable).
Please note: Geolocation must be tested on device as the App Studio web preview does not currently support this.
Download a demo here: AppStudio_testcases_geolocation.zip