> I was thinking I'll either have to create rectangles of long and lat and check
> against them before doing my calculation...

You haven't really specified how the user inputs the location.
Regardless, if you can get the lat/lng of the location through mouse
event click on the map or passing address to geocoder, do the
following for the most accuracy and control:
1. Create a polygon of the channel islands (you don't necessarily have
to display it on the map)
2. Check whether the lat/lng is inside the polygon. See the following
script of various methods to extend google.maps.Polygon, in particular
the method .Contains(latlng)
http://www.cnblogs.com/alli/archive/2010/11/12/1875536.html
3. If the lat/lng is inside the polygon, convert it into an NGR
(whatever that is)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to