On Dec 8, 1:29 pm, Mircea <[email protected]> wrote:
> 1. I try to make the route polyline visible/hiden by placing an
> onMouseover, onMouseout java on those links. I know that the links do
> not work, I just wanted to make myself understood...

1a. This is not Java, but javascript.
1b. The values for onMouseover, onMouseout are expected to be
javascript functions. Find a javascript tutorial and see what is valid
in a function name and what isn't.

> 2. How can I toggle .isHidden() on user input (a select box or links
> like the one above)?
2. You don't toggle .isHidden(). .isHidden() is a method that returns
a boolean value.
Try:
onmouseover="directionsArray[0].getPolyline().hide()"
onmouseout="directionsArray[0].getPolyline().show()"

--
Marcelo - http://maps.forum.nu
--



>
> Thank you for your response,
> 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