When a user enters their address on the form and clicks the ‘Get Location’ button, the system should calculate and display the latitude and longitude coordinates of that address on the map.
Application Flow
- Go to the UI Design module.
- Drag and drop the following elements from the Elements panel:
- Text Input → Field where the user will enter their address
- Label → Field where the latitude information will be displayed
- Label → Field where the longitude information will be displayed
- Button → Button that starts the ‘Get Location’ process
Action Flow and Configuration
- Add Action to ‘Get Location’ Button
- Select the button → +ADD ACTION → OnClick → Geolocation → Location Coordinates Of Address
- Configure Parameter
- Address
- Display Coordinate Information
- Immediately after, as the second and third actions: