That did it!! thank you.

On Mar 10, 11:36 am, Marcelo <[email protected]> wrote:
> On Mar 10, 7:13 pm, Steve Johnson <[email protected]>
> wrote:
>
> > So what is the proper way to clear the directions?
>
> Ahhh, now we have a question! ;-)
>
> To clear, you can do:
> directionsDisplay.setMap(null);
>
> and when getting new directions, in the callback function:
> directionsDisplay.setMap(map);
>
> Like this:http://maps.forum.nu/v3/gm_directions.html
>
> --
> Marcelo -http://maps.forum.nu
> --
>
> > On Mar 10, 9:30 am, Marcelo <[email protected]> wrote:
>
> > > On Mar 10, 2:52 pm, Steve Johnson <[email protected]>
> > > wrote:
>
> > > > The following is used to clear the directions on my map:
>
> > > > MyRender.setDirections({trips: []});
>
> > > > This no longer works.
>
> > > OK, now we know that.
>
> > > --
> > > Marcelo -http://maps.forum.nu
> > > --
>
>

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