Skip to main content

User Location

Overview

The User Location component captures and displays the current location of the user.

userLocation

Configuration Inputs

Hide Map

If set to true, the map is hidden. This allows for the location to be captured unobtrusively.

Type
Boolean

Auto Next

"If set to true, the flow automatically advances to the next step when the user's location is determined."

Type
Boolean

Configuration Outputs

Latitude

The latitude of the user's location.

TypeVariable Name
Textlatitude
caution

The latitude output is of the variable type Text. This is by design as the Flow framework rounds decimal numbers to 3 decimal places. Three decimal places is not accurate enough for location data. A Text value maintains the decimal precision required for accurate data. Use a Flow Formula Variable that wraps the latitude variable in VALUE() to convert it to a number when mapping the value to a record field for insert or update.

Longitude

The longitude of the user's location.

TypeVariable Name
Textlongitude
caution

The longitude output is of the variable type Text. This is by design as the Flow framework rounds decimal numbers to 3 decimal places. Three decimal places is not accurate enough for location data. A Text value maintains the decimal precision required for accurate data. Use a Flow Formula Variable that wraps the longitude variable in VALUE() to convert it to a number when mapping the value to a record field for insert or update.

Location Accuracy (Meters)

The accuracy of the location in meters.

TypeVariable Name
NumberlocationAccuracyMeters

Location Accuracy (Feet)

The accuracy of the location in feet.

TypeVariable Name
NumberlocationAccuracyFeet

Heading

The directional heading of the user. This may be blank for some devices.

TypeVariable Name
Numberheading

Speed (MPH)

The speed of the user in miles per hour. This may be blank for some devices.

TypeVariable Name
Numberheading

Speed (KPH)

The speed of the user in kilometers per hour. This may be blank for some devices.

TypeVariable Name
Numberheading