Location Module
  • 07 Jun 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Location Module

  • Dark
    Light
  • PDF

Article summary

Description

The Location module helps to capture the coordinates from the user by using Google Maps integration. This module allows the end-user to manually select a location on the map or type in the address in the address bar.

Application

The Location module is used whenever we want to record the user’s current location, or for the user to be able to search for things such as available hospitals or doctor’s offices in a desired area. This can also be used to report the location of a car accident when filing a claim for FNOL (first notice of loss).

Settings

The basic settings in the Location module are: 

  • Label: The label uniquely identifies this module inside the Ushur for your reference.

  • Message: Here you would enter a prompt to the user to enter an address

  • Display Nearby Locations: pins of locations with the specified radius will be shown on the maps (i.e. hospitals, body shops, etc.)

  • Validate: validates that the location coordinates (longitude and latitude) are in proper format.

  • Validate Location Address: validates that the street address is in standard format. This ensures proper formatting if the end-user manually enters an address.

For example, if you defined the Ushur variables (uVar) LocationCoordinates, and LocationAddress as the following, these will be the values stored in each variable:


Was this article helpful?

What's Next