Okay, here's my problem. The system I'm working with uses objects called Areas to represent a 920x920 metre area on a map. The only reference given for the Area, however, is the latitude and longitude for the top-left corner of the grid square.
What I need to do is work out whether the user's current GPS location falls within a specific area, so I'm writing a function that checks if this is the case, and if so returns data from that area object.
Where I'm struggling is actually working out the best way to do the location checking, when all I have to go on is the user's exact lat/long and a known lat/long for the top left of the grid square...what would be the best way to approach this problem?
Many thanks for any help.