If you can create a really simple sample page that specifically for this issue, other users may get to your code quicker.
The short answer to your question should be yes. You need to create two GTileLayerOverlay and hold reference to each, and tie its show or hide method to your check box click event. On Apr 1, 4:19 pm, "wilderness.webmaster" <[email protected]> wrote: > Map:http://www.wilderness.net/_test/index.cfm?fuse=NWPS > OS: XP pro > Browser: IE6 > > The map above shows our wilderness polygons along with state and > wilderness markers. I've added the ability for users to toggle the > markers on and off and would like to also do so with the wilderness > names. The tiledMapServiceLayer service I'm > using,http://gis.cfc.umt.edu/CFCGIS/rest/services/NWPS_Web/MapServer, > actually has two layers in the ArcGIS file, one with the wilderness > polygons (bottom) and one with the polygons hidden (i.e. not colored) > and only the wilderness names visible (top). The way I currently have > it, when you uncheck the Wilderness Names checkbox, the entire service > layer disappears. Is it possible to hide/show only one layer within > this type of service by referencing the layerid? If so, how? > > Thanks for any assistance! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
