Geolocation Actions

This feature is an add-on to a standard Skuid subscription and may not be available for all users.

These actions utilize addresses from data within a Skuid model—or the end user’s own location—to provide geolocation and mapping features.

Refresh user location

Refreshes the location merge variables to reflect the user’s current location.

Sort rows by driving distance from user

Will sort all loaded rows within a model based on the distance between the user’s current location and the address field template formed in the Address field(s) property. The rows appear in that order in any components connected to the selected model.

Note

Requires Refresh user location to have run at least once since page load.

  • Model: The model to be sorted

  • Address field(s): A template field used to generate an address. Multiple fields may be used through merge syntax.

    An example value:

    {{Street}}
    
    {{City}},{{State}}
    
    {{Zip}}
    

Show distance estimated travel time

Analyzes the rows in the model and uses the address from Address field(s) to determine drive distance and estimated trip time.

Note

Requires Refresh user location to have run at least once since page load.

  • Model: The model to be analyzed

  • Address field(s): A template field used to generate an address. Multiple fields may be used through merge syntax.

    An example value:

    {{Street}}
    
    {{City}},{{State}}
    
    {{Zip}}
    
  • Units: Determines the format to display drive distances.

    • Imperial
    • Metric
  • Field to display drive distance: A field that can be updated to display the calculated drive distance. Commonly a UI-only field.

  • Field to display estimated trip time: A field that can be updated to display the calculated estimated trip time. Commonly a UI-only field.

Open address in map application

Opens the address within the Address field(s) value in Google Maps on desktop, or in the mobile device’s default map application (Apple Maps or Google Maps depending on device).

  • Address field(s): A template field used to generate an address. Multiple fields may be used through merge syntax.

    An example value:

    {{Street}}
    
    {{City}},{{State}}
    
    {{Zip}}