1

Consider that I am having the following location points in google maps: Latitude point: 112. Longitude: 91.44 and Radius: 5 (degrees). So hoping that I can have a boundary level by using the above coordinates.

Now if I give a new latitude and longitude position, say: latitude - 98 and longitude - 12.3.

Is there any procedure to calculate whether the new coordinates (latitude - 98 & longitude - 12.3) lies inside the boundary..

If so can you explain that formula?

Thanks.

1 Answers1

1

check this post

http://www.movable-type.co.uk/scripts/latlong.html

Calculate distance between two latitude-longitude points? (Haversine formula)

Community
  • 1
  • 1
Pratik
  • 30,639
  • 18
  • 84
  • 159