eddieowens / react-native-boundary

Native implementation of geofencing/region monitoring

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to check boundary for a line/route between two points?

nbastoWM opened this issue · comments

commented

I would like to check if a user walking between two points is inside a certain boundary distance.
Is there a more efficient solution than adding multiple circular boundaries calculated between those two points?

commented

I solved this by checking the boundaries of several points along the route and checking if the device is still in at least one boundary.