How to toggle between layers within a tab of the side accordion app?

Discussion created by koentjuuh on Jun 23, 2014
Latest reply on Jun 24, 2014 by koentjuuh

I'm trying to create a side accordion application that looks similar to the Elephant Poaching Crisis map (http://elephantstory.wcs.org/). I know that this is a custom made map and I do have multiple questions about it but the most important question for now is how I can visualize maps by clicking on words in the text in the same tab (toggle between layers within the same tab) (or use buttons if necessary). So that I don't have to make a seperate tab for each layer that I want to show. I have barely any experience in writing scripts so please give me a clear description on how to create this option. Thanks a lot already for your support!