No bother, I found it...

directions.clear();

:)

On Jan 22, 10:51 pm, Updater <[email protected]> wrote:
> Hi
>
> How do I simply remove the route drawn on the map after using
> directions.load?
>
> It draws the route from a to b OK
>
> But if I route another on the map, it draws that route AS WELL without
> removing the first route, thus I get a map full of blue lines!
>
> Thus after drawing a few routes the map becomes slow and needs
> refreshing :o(
>
> Any help appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to