Hi Joe

maybe this link[1] help you.

To remove the printed route use this code:
directionsDisplay.setMap(null);

Next time post a link for your problem

[1]
http://www.pjtecnologia.com.br/maps/exemplos/directions-with-preset-destination.html

Thanks



Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Thu, Feb 3, 2011 at 2:04 PM, JoeT <[email protected]> wrote:

> Hello all...
>
> I have a app that allows the user to pick 2-points and display the
> route on the map.
> What can I do to 'clear' the route that is on the map (something like
> a clear button)?
>
> Also, is it possible to suppress the route from being drawn once the
> from-to links are picked?
>
> TIA,
> Joe
>
> --
> 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