On my site I'm rendering many polylines. Performance has been great. I'm trying to toggle the visibility of many of the polylines through a checkbox. I can loop through all my polylines and individually call setMap(null). But is there a way to have these lines appear on a custom layer and then I just set that layer's visibility to false?
I can see an alternative where I modify the global stylesheet of the document but I'm wondering if the API supports something cleaner. http://www.hardtoremember.org/wlog/ - example with ~1000 polylines, ~8000 vertices -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
