On Jun 3, 4:34 pm, Webmaster <[email protected]> wrote: > I need to change the zoom level on it and I can't figure out how. > > Here is a pastie to the code:http://pastie.org/499219
The posting guidelines specifically ask that links don't point to code, but to real map pages. > I originally thought that I just needed to edit the zoom level in this > line: > cm_map.setCenter(new GLatLng( 43.907787,-79.359741), 2); > But nothing happens once the markers are loaded in from the spread > sheet. The data is loaded via function cm_loadMapJSON(), and at the bottom of that function are two lines cm_map.setZoom(cm_map.getBoundsZoomLevel(bounds)); cm_map.setCenter(bounds.getCenter()); which set the map's centre and bounds so that the data fits. That seems a reasonable thing to do, but it's those two lines which are controlling the behaviour you want to alter. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
