Hi tracyszone,
From your current setup, I noticed that the “Location to watch” and “Trigger point” fields in the Geofence element haven’t been configured yet. These are essential for the plugin to function correctly. You have to set them with the same value that is rendered in your MapBox element - essentially the center point of the geofence you want to set up.
To create a dynamic radius around a user’s current location, you’ll need to do the following:
-
Set the “Location to watch”
→ Use Current geographic position
if you want the circle to follow the user’s live location.
You can set this by referencing Current geographic position
in a custom state or directly in the plugin field.
-
Define the “Target Radius”
→ This is the size of your geofence in meters (e.g., 1000
for 1km).
You can allow users to select from predefined values like 1000, 3000, 5000 using a dropdown or slider.
-
Set the “Trigger Point” (optional)
→ This can be used to compare the user’s current location against a fixed point.
In your case, it may not be needed unless you want to compare movement relative to a non-user position.
You can also check this section of our documentation for more detailed steps and examples:
How to configure distance-based geofence
Once that’s in place, you should see the radius circle render properly and update as the location changes.
Let us know if it helped.
Best regards,
Egor Smorodinov,
Support Team
Browse all Zeroqode Plugins for bubble
