Dear all,
working on this map: http://speck.conabio.gob.mx/manglarfotos/MEX/modis/index.html# I stumbled over the following question: Is it possible to use the swipe app with just one legend panel, i.e. one column? Any hints?
thank you & best regards,
Flo
Solved! Go to Solution.
Hi Flo,
The legends are controlled in the web maps, so if you wanted one column, you could include all the layers you want in the legend in one map, then hide all the layers from the legend in the second map. Here is what it looks like after I select the 'Hide in Legend' option for the 'major changes (greater than 25 ha)' layer in the content tab for the web map in the AGOL map viewer.
http://www.arcgis.com/apps/StorytellingSwipe/?appid=441cfbea938a41a98a7f12b949f628c5
Mark
Hi Flo,
The legends are controlled in the web maps, so if you wanted one column, you could include all the layers you want in the legend in one map, then hide all the layers from the legend in the second map. Here is what it looks like after I select the 'Hide in Legend' option for the 'major changes (greater than 25 ha)' layer in the content tab for the web map in the AGOL map viewer.
http://www.arcgis.com/apps/StorytellingSwipe/?appid=441cfbea938a41a98a7f12b949f628c5
Mark
Hi Mark,
I already tried that, but the result is, that the second column just shows "No legend available"?
http://speck.conabio.gob.mx/manglarfotos/MEX/Swipe/src/index.html
Looks like you are using a previous version of the Swipe app. We recently released version 1.4 that handles the 'no legend' issue more elegantly. You can find the download and documentation on the github page: Esri/swipe-map-storytelling-template-js · GitHub
Thank you Mark, I´ll upgrade.