On Sep 7, 1:15 pm, Patrick Cain <[email protected]> wrote:
> Hello, all -
>
> I'm having trouble controlling the zoom in this 
> map:http://www.patrickcain.ca/maps/100902_torontowards.html
>
> It seems to load the map, then reload it to show the KML file at the
> centre of the map. I would like to set the zoom, accepting that some
> of the KML may spill off the side of the map. The map itself is set to
> zoom:12, but that keeps getting overridden. Where should I put the
> zoom level where it won't get overridden? Examples would be helpful.

Have you tried preserveViewport:true?
http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=preserveViewport&qt_g=Search+this+group

http://code.google.com/apis/maps/documentation/javascript/reference.html#KmlLayerOptions

  -- Larry

-- 
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.

Reply via email to