On Jan 1, 12:30 pm, Greg <[email protected]> wrote: > Us non-coders could would benefit from seeing how to implement option > tags. For example:
The documentation is not written for "non-coders": <quote> Audience: This documentation is designed for people familiar with JavaScript programming and object-oriented programming concepts. </quote> http://code.google.com/apis/maps/documentation/javascript/basics.html#Audience If I try to read your engineering books I might have some complaints too. :-) -- Marcelo - http://maps.forum.nu -- > var ctaLayer = new google.maps.KmlLayer('http://gmaps- > samples.googlecode.com/svn/trunk/ggeoxml/cta.kml', > {preserveViewport:true}); ctaLayer.setMap(map); > That did the trick! Thank you for the help, Larry. I really appreciate > it. > > On Jan 1, 12:32 am, "[email protected]" <[email protected]> > wrote: > > > > > > > > > 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.h... > > > -- 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.
