On Dec 31, 6:43 pm, Greg <[email protected]> wrote: > I am currently upgrading my site and trying to reconfigure that page > for API v3, but changing the default zoom and lat/lng centering isn't > working.http://www.deltagear.us/skydive_galaxy.htm > > After copying the sample code and looking at the source code from some > of the examples, I cannot figure out why my new page won't load to the > correct lat/lng-centering and zoom.
KmlLayer defaults to zooming and centering the map on its contents (overriding your setting). To change that behavior, set the preserveViewport option to true in the constructor: http://code.google.com/apis/maps/documentation/javascript/reference.html#KmlLayerOptions -- Larry http://code.google.com/apis/maps/documentation/javascript/layers.html... > > I'm an engineer and not a programmer, so any specific help would be > greatly appreciated. -- 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.
