Creating a margin of error boundary for html5 geolocation

I’m trying to create an html5 web app and I’m attempting to figure out how I can create a sort of safety zone / net to give the technology a break and allow a small margin of error.

All I want to do is create a zone around a particular location. If the user is within that zone, rather than the exact location, return a result of success. I basically want to throw a safety net of say 10 metres (is this enough?) around a particular location.

I’m thinking that I need the lat/long from their device, the lat/long of the location but how do I create the safety zone?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.