Esri / storymap-shortlist

The Shortlist story map application template by Esri
http://storymaps.arcgis.com/en/app-list/shortlist/
Apache License 2.0
43 stars 61 forks source link

make details panel optional #22

Closed leebock closed 10 years ago

leebock commented 10 years ago

I think a really neat shortlist enhancement would be to make the Details panel optional via a setting in the Index.html file. By default it would be on. But the author could also turn it off. If the user chooses not to have it, then there would be no Details link in the popup, and instead we would automatically add the following into the popup in addition to the Short_Desc

Picture Address Hours Website URL link

In this way, a user can choose between a separate Details with multiple description fields or no Details panel in which case we fit everything except Desc1…Desc5 into the popup. It would make the popup a bit larger but usually there is space. Plus the user can still leave any of the fields blank if they like.

RupertEssinger commented 10 years ago

This has now been implemented. By default the Shortlist's Details panel is turned off. When the Details panel is turned off, the popup just shows the Short_Desc, picture, Desc1 and Website, so fewer attributes have to be populated in the shortlist points and supporting layers.

Authors can enable the Details panel by setting the DETAILS_PANEL parameter in the index.html to true instead of false. This is also supported as a URL parameter. You can switch between the two to see the result: http://storymaps.esri.com/templates/shortlist/?webmap=88b187a860934d8491bdff591d0b1e1a&DETAILS_PANEL=true