I see.  We'll look at exposing the bounds on the DirectionsRenderer.  Then
you could simply call
map.fitBounds(renderer.get('bounds'));

On Tue, Jun 1, 2010 at 3:31 PM, gp-v3 <[email protected]> wrote:

> That is true... but is there a better way to have the map re fit the
> directions after a resize trigger?  Fitting to the whole direction
> polyline would be nice, but I will settle for anything right now.
>
> On May 31, 7:33 pm, Ben Appleton <[email protected]> wrote:
> > The start and end markers may not bound the whole route though.
> >
> > On 1 Jun 2010 03:50, "gp-v3" <[email protected]> wrote:
> >
> > Is it possible to get the markers associated with the directions to
> > create a directions bound using the start and finish markers?
> >
> > On May 29, 2:54 pm, gp-v3 <[email protected]> wrote:
> >
> > > How do you make it redo the bounds on map ...
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

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