Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to have a checkbox in my layer switcher "turn all layers on/off". how can I do that ?

I thought about adding an empty layer with that name and somehow bind her an event "On Show" and "On Hide" to toggle the rest of the layers.

Any better solution ?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.