The GPS / Geo-fencing component
The GPS & Geo-Fencing component allows you to track a user's GPS location in real time and trigger actions based on defined geographical areas. This component is ideal for creating location-based applications such as audio guides, interactive tours, or games based on the user's position.
This feature works entirely offline: your users do not need an Internet connection during their journey.
⚠️ Mobile Apps Only: This feature is only available for mobile applications (web and native).
Use Cases
Here are some use cases for the GPS & Geo-Fencing component:
- Geolocated Audio Guides: Activate audio descriptions when the user enters a specific area.
- Interactive Tours: Guide users with specific information based on their location on a map.
- Location-Based Games: Create quests or challenges that unlock based on the user's position.
- Indoor or Outdoor Signage Applications: Provide navigation instructions in physical spaces or events.
Setting Up the Component
Adding the Component
Insert the GPS component into your project. If you want it to be active throughout the application, make sure to insert it at the project level rather than within a single screen.
💡 The GPS component is non-visual. If you want to display a map in your app, use the Map component.
Configuring Geo-Fencing Zones
Using markers, add geographical zones by entering an address or clicking directly on the map. Name each zone to make them easier to identify in your actions. Click the + button on the left to create a marker.
- GPS Coordinates of the Center
- Radius (in meters): Set the detection distance from the center of the zone.
- Enter Zone Detection: Trigger an action when a user enters a defined zone.
- Exit Zone Detection: Trigger an action when a user leaves a specific zone.
You must choose either entry or exit detection to activate your marker.
You can also link the creation of your geo-fencing zones to a dynamic source via data binding.
Component Features
Trigger Events
The GPS component can also act as a trigger for various actions. Available triggers include:
- Zone Detection [marker]
- Geolocation Error
Interactive Actions
There are no interactive actions associated with this component.
Best Practices and Tips
In certain environments (indoors, low-coverage areas), GPS accuracy may be limited. The Beacon component can be a good alternative.