Place test points of interest, compute live Haversine distances, and trigger enter/exit events when the device crosses a radius boundary.
Your position is the blue dot. Coloured rings are zone radii. Drop POI here places a test point at the current GPS position.
d = R × √((Δlat)² + (cos(lat) × Δlng)²).
Zone transitions fire when the device crosses a POI's radius boundary. Hysteresis (a small dead-band) prevents rapid re-triggering at the boundary.