Use and display locations
0% complete
Locations can relate to your offices, cafes, bus stops, smart beacon placements, moving businesses, and so much more. The difference is the accuracy and additional parameters that are needed for each of these applications.
Areas
If you need to select just an area, use taxonomy or a content type with content items as options. A typical setup can look like this:- Region (taxonomy group or content type)
- Australia (taxonomy term or content item)
- Netherlands
- United Kingdom
- United States
Specific locations
If you need to pinpoint a specific location, there are a couple of options:- If the place has an address, the most straightforward approach is to add a text element for the address and let the front end show up a map with a pin on that location.
- If you need a precise location because sometimes places are between two addresses or just in the middle of nowhere, add two text elements for latitude and longitude.
- Both ways can be made even easier by using a custom element with a map to let your content creators pick a place by clicking on a map. You can then set up the element to save either an address or latitude and longitude based on the click.
- See the integrations topic on GitHub and the custom elements overview to find custom elements you can use or customize for your scenario.
Moving locations
Sign in with your Kontent.ai credentials or sign up for free to unlock the full lesson, track your progress, and access exclusive expert insights and tips!