Building with the Geofencing API for mobile
summary
Mapbox’s Geofencing API (iOS/Android, experimental) lets apps load GeoJSON polygons/points/multipolygons, add or remove features at runtime, and observe entry exit dwell events with configurable dwell time (demo uses 1 minute). The sample app simulates a GPX-driven user circling Yellowstone across ~10 regions, visualizes events with color-coded fills, and runs entirely client-side for offline support. API claims unlimited geofences (no platform limits), supports background monitoring, PID parity planned for Flutter, and iOS terminated-app wake is partially addressed with fixes in the upcoming 11.17.
AI-written summary · about
chapters (5)
- 0:00Session introduction
- 2:09Geofencing API overview
- 4:16Example use cases
- 8:13Developer code demo
- 23:40Live Q&A session








