Hi, there,

Here is what I am doing now:
Manually collect the bounds of the country (latNorth, lngEast,
latSouth, lngWest) and save it in my country database. And with
following (easy)

            var ne = new google.maps.LatLng(latNorth, lngEast);
            var sw = new google.maps.LatLng(latSouth, lngWest);
            var bounds = new google.maps.LatLngBounds(sw, ne);

            map.fitBounds(bounds);

Now I want to show Russia. It's east end is actually belong to the
other side of the world. So, my box can only extend east to 180, which
is practically fine. I just curious if there a better way to do this.

I saw a post (in v2) using GeoCoder but I failed to convert it to v3.

Thanks.

John

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to