views:

87

answers:

3

hi

if i have this position: 32.226743,34.747009

and i need to know that i in the range of 10 meter from this position

how to know this ?

(i work on C# Windows-mobile 2005)

thank's in advance

+2  A: 

Once you get the current position you could calculate the distance between those two points and test if it is less than 10 meters.

Darin Dimitrov
thank's !!! it's works !!!
Gold
+1  A: 

here is a link that might help

Latitude, Longitude, Bearing, Cardinal Direction, Distance, and C#

fishhead
A: 

Then use the great-circle distance formula. THough in reality, when looking at such short distances with respect to the planet's radius, a simple 2D euclidean distance between two points is going to be close enough.

ctacke