Thank you very much, Larry. It worked great. Ricardo.
On Dec 7, 3:40 pm, "[email protected]" <[email protected]> wrote: > On Dec 7, 10:35 am, Chuqui <[email protected]> wrote: > > > > > Hello, > > > I read the documentation and created this map dynamically from a > > Google Docs spreadsheet document: > > >http://www.uandes.cl/comunicaciones/alumni/mapa-alumni.html > > > I like the result, but I can't change the default zoom level. If you > > look at the code (it's all in the HTML of the page given above), > > you'll see this function: > > > cm_map.setCenter(new GLatLng( 43.907787,-79.359741), 2); > > > I have changed the "2" to another values, but the map always opens > > with the same zoom level. I need to change that. I read the > > documentation and also used Google Playground > > (http://code.google.com/apis/ajax/playground/ > > ), and it works fine there, but not in my map. > > > Help will be truly appreciated. > > These 2 lines in your code size the map to fit the data: > cm_map.setZoom(cm_map.getBoundsZoomLevel(bounds)); > cm_map.setCenter(bounds.getCenter()); > > If you don't want that to happen, remove them. > > -- Larry -- 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.
