🌍 Location
A location object encapsulates an address, including its geometric details and all relevant components associated with that address.
To generate a location object, an administrator can include a location field on the site; for instance, a location field named office_location
location.lat
Return the latitude in decimal degrees
Input:
{{ office_location.lat }}
Output
52.040102
location.lng
Return the longitude in decimal degrees
Input:
{{ office_location.lng }}
Output
location.address
Return the full address of the location
Input:
Output
To access all components applicable to the address
Component | Input | Output |
---|---|---|
Country |
|
|
State/Province |
|
|
Municipality/Gemeente |
|
|
City |
|
|
Street |
|
|
Street Number |
|
|
Postal Code/Zip Code |
|
|