Jusr removeOverlay() and addOverlay() again.

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



On Mar 21, 10:19 am, ChrisR <[email protected]> wrote:
> Hi,
>
> I'm currently developing a googlemaps app for an organisation that has
> alot of routes (hiking, jogging, mountainbiking, etc ...) in an area.
>
> I now draw all the routes on the map with polylines and opacity set to
> 0.3. When someone clicks a route in the list next to the map that
> particular route gets it's opacity set to 1 to highlight it. All works
> fine except for the fact that if the route lies below all other
> polylines the semitransparent polylines still show over the activated
> route.
>
> Thus i would like to bring the activated route to the front. Is there
> a way to achieve this? I've foundhttp://econym.org.uk/gmap/zindex.htm
> concerning the z-index of markers but it doesn't seem to apply to
> PolyLines and doesn't work at runtime (only when the marker gets
> added)
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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