On Aug 23, 3:29 pm, jalmaps <[email protected]> wrote: > Does anyone know of a tutorial showing how to show/hide different > polylines by category on Google maps?
There have been posts discussing this in the group previously, but no "tutorials" that I know of. The concept is the same. http://groups.google.com/group/google-maps-api/search?group=google-maps-api&q=show+hide+polyline+categories&qt_g=Search+this+group I have checkboxes that allow hiding/showing polylines on this page: http://www.geocodezip.com/GenericMapBrowser.asp?filename=RiverWalk080702d.xml > Is the method similar to hiding/showing marker categories as detailed > in Mike Williams tutorialhttp://econym.org.uk/gmap/categories.htm? > For example I have created a simple map which shows 2 marker > categories which I can toggle on and off. On the same map I have drawn > 2 polylines which I would like to be able to toggle on and off in a > similar fashion.http://www.peterbertelsen.com/map-test/categories-tr.html > > Can this be achieved by declaring a 'category' in the <line> tag in > the xml document, as with the markers, Yes, but you have to write code to handle it. -- Larry > or is there a completely > different method for hiding/showing polylines? > > Thanks in advance for any help you can give. -- 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.
