• Ready for review
  • 🌍 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

    Component

    Input

    Output

    Country

    {{ office_location.country }}

    Netherlands

    State/Province

    {{ office_location.state }}
    {{ office_location.province }}

    Utrecht

    Municipality/Gemeente

    {{ office_location.municipality }}
    {{ office_location.gemeente }}

    Veenendaal

    City

    {{ office_location.city }}

    Veenendaal

    Street

    {{ office_location.street }}

    Landjuweel

    Street Number

    {{ office_location.street_number }}

    5

    Postal Code/Zip Code

    {{ office_location.postal_code }}
    {{ office_location.zip_code }}

    3905 PE