-1

I have divided the map of india into 4 zones. These zones are rectangular and i have stored the latitude and longitude of the 4 corners of the region.

What I want to do is based on the current location of the user which I am able to get categorize him to one of the zones. Please help me.

user2801426
  • 83
  • 1
  • 1
  • 6
  • possible duplicate of [check if map markers are within selected bounds](http://stackoverflow.com/questions/11229711/check-if-map-markers-are-within-selected-bounds) – geocodezip Jan 21 '14 at 13:49

1 Answers1

0

See the first answer to this question. You need to check whether or not the coordinates of the current location are within the bounds objects you have created for each of your four areas.

Community
  • 1
  • 1
ChrisSwires
  • 2,713
  • 1
  • 15
  • 28