Mike,

Thanks for the information. Really that is useful. I may need to plot
8 to 15(this may increase in future) routes on the same map without
loosing any one of them. Which one you suggest as best practice? 1.
Going with different GDirections instances - simple and no need to
code for plotting. OR 2. Plot our self

Thanks.

On Oct 28, 9:45 am, Mike Williams <[EMAIL PROTECTED]> wrote:
> Wasn't it Jay32 who wrote:
>
>
>
> >Is it possible to plot more than 1 route on the same map? For example,
> >on the same same map I would like to plot the route from Baltimore to
> >DC, Toronto to Niagara Falls and also from Key west to Miami.
>
> If you use the same GDirections instance to perform the rendering of the
> routes, then the second time you call it, it will remove everything that
> it drew previously. So either:
>    Use a separate GDirections instance for each route
> or
>    Tell GDirections not to render the routes itself.
>    Use getPolyline and getMarker and plot them yourself.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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