I have an application working on iOS devices getting constantly the current latitude and longitude from the device. I would like to show an alert when the user reaches a certain lon/lat.
Here is the long to be reached : 2.39364456 Here is the lat to be reached : 48.84185814
When the user reaches this point, he should get an alert.
Unfortunately it doesn't work since the user doesn't always get to this exact point.
What I would like to do is : if you are NEAR to this point, in a certain range defined, then we pop up the alert.
I have no idea how to do this. I tried to implement long/lat to UTM converter and then try to work with UTM format but it was a failure.
Is it possible to work with the lon/lat's numbers which are after the comas to make a "range" to be in so the pop up shows ?
Thanks for reading and thanks in advance for your help ;)