Thank you, I will do some research on that and see what I can come up with.
Randy On Fri, Mar 5, 2010 at 3:37 PM, Brak <[email protected]> wrote: > If you know the dimensions of a country, you could come up with a > LatLngBounds object, which you could use to automatically set the zoom > level to the right size. You just need the corners, technically. > > > http://code.google.com/apis/maps/documentation/v3/reference.html#LatLngBounds > > On Mar 5, 3:28 pm, Randy Johnson <[email protected]> wrote: > > Is there a way to let the Google Maps API choose the zoom level when > > using the geocoder service to show a country? > > > > Thanks! > > > > Randy > > > > On Mar 2, 4:13 pm, pete <[email protected]> wrote: > > > > > > > > > You need to use the Geocoder service to position a map by location > > > namehttp:// > code.google.com/apis/maps/documentation/v3/examples/geocoding-... > > > > > On Mar 2, 11:17 pm, vincent14 <[email protected]> wrote: > > > > > > Hello > > > > it is not possible to show aCountry, without using LatLng and Zoom > > > > factor, but direct with thecountryname? > > > > have a nice day > > > > vincent > > > > > > function initialize() { > > > > var latlng = new google.maps.LatLng(-34.397, 150.644); > > > > var myOptions = { > > > > zoom: *, // as Big thecountryis Andora would have a differnt > > > > Zoom Level then China > > > > center: latlng, > > > > mapTypeId: google.maps.MapTypeId.ROADMAP > > > > }; > > -- > 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]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- 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.
