Hi,
I want to create a show/hide polyline for a map with multiple routes.
I think that polyline.show(); and polyline.hide(); should do it but I
can not get it to work.

The map is based on http://www.geocodezip.com/multiple_routesB.asp

The map I am working on is at:
http://www.amsterdamsat.com/Test/hide_show.html

I want to do a mouseover show/hide on a link for each route. I got a
toggle polymap function that I do not know how to integrate:

                function toggleRoute() {
                  var polyline = directions.getPolyline();
                  if (polyline.hidden) {
                        polyline.show();
                        polyline.hidden = false;
                  } else {
                        polyline.hide();
                        polyline.hidden = true;
                  }
                }

Thank you,
Mircea

--

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