Reverse geocode the user's lat/lng. Scan through the returned Placemarks looking for the one with Accuracy=1, which is the one that contains details of the country.
In that Placemark there will be ExtendedData.LatLonBox which contains north, south, east and west limits of the bounding box for that country. Use that information to create a GLatLngBounds() object. Use map.getBoundsZoomLevel(bounds) to determine an appropriate zoom level and bounds.getCenter() to find the centre. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
