On Oct 23, 5:01 pm, Traveller <[EMAIL PROTECTED]> wrote:
> I've set up a map with various directions to a hotel.
>
> http://www.travellersinn.com/inn_downtown.htm
>
> The links that have the directions work fine...but if another
> direction is selected, it appears under the previous selected one.
>
> I can't figure out how to get rid of the old direction each time a new
> direction is selected.
>
> I've tried using GDirections.clear(); but I just get a blank map and
> no directions.
>
> Suggestions...or am I just missing the obvious?

Have you tried clearing out the text_direct div before creating the
next set of directions?  (actually you probably want to set it to:
<a href="Javascript:onClick=mapLoad();"> &lt;&lt;Back to Arrival
Points</a>
as that is what is in the div before you add the directions to it...)

  -- Larry

>
> Thanks in advance...
--~--~---------~--~----~------------~-------~--~----~
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