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]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
