Thanks William.

On Jun 1, 2:43 am, William <[email protected]> wrote:
> On Jun 1, 3:31 pm, gp-v3 <[email protected]> wrote:
>
> > That is true... but is there a better way to have the map re fit the
> >directionsafter a resize trigger?  Fitting to the whole direction
> > polyline would be nice, but I will settle for anything right now.
>
> you can iterate through all points in the path, extend theboundsto
> each point, then use thisboundswhen the div is resized.  But I'm not
> sure when exactly to call "map.fitBounds()"
>
> see this map for an example, by clicking the "Resize Map" button after
> creatingdirections:http://www.william-map.com/20100601/2/map.htm
>
> ...

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