If you aren't going to be changing the routes frequently you could
always create the routes in Google Earth, overlay them with GGeoXML,
and just toggle each the same way you do with the lines.

On Oct 28, 9:19 pm, xelawho <[email protected]> wrote:
> Hi,
>
> apologies in advance for the similarity of this question to the last
> one, but i realised that I have many many polylines to show and I
> would like to be able to toggle them on and off from a clickable
> sidebar (thanks to geocodezip for the idea and code).
>
> But I'm having the same problem as last time - I can get the
> arrowheads to show up OK, but they stay there regardless of whether
> the lines are onscreen or not.
>
> I thought adapting the togglePoly function may work, but that was
> obviously way too optimistic. Does anybody have any better ideas?
>
> Here's my map:http://xelawho.com/map/busroutes2.htm
>
> thanks in advance,
>
> Lucas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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