Log the device's current location.

The Location component logs a one-time location that does not update after it is enabled. For dynamic location detection, you may consider using a Distance to Location Computed Column, which updates as the user's location changes.

Setting up the Location Component

  1. In the Layout Editor, select the tab you want to edit.

  2. Click on the plus (+) symbol in the Components panel.

  3. Select the Location component.

  4. In the Save to field, select which column in your app's Data Source to store the user's current coordinates.

  5. You can add a description in the Label field that will show for the user. This field also can be configured using a column in your data sheet.

The Location component is particularly useful in Form screens if your users are submitting location data. Once they have submitted their data, you can plot it on a map with the Map Component.

Have a question about Location? Ask the Glide community.

Updated more than a week ago
Was this article helpful?