I want to use a toggle button bar to turn layers on/off similar to the Switching Basemaps sample.I would have 3 options (zone 1, zone 2, zone 3) and would need to turn layers on/off based on the selection. I have one dynamic map service that has layers for all 3 zones...I don't want to make a map service for each. Are there any examples/samples on how to do this? Thanks!
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.