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

stop 'undefined' from appearing in popup #23

Closed leebock closed 10 years ago

leebock commented 10 years ago

Here's one I see quite a lot because people aren't always populating the full set of shortlist attributes for their supporting layers: could we prevent the 'undefined' string appearing in the popup if the user has not supplied a Short_Desc field for a point feature or supporting line or polygon feature in a shortlist. In the doc we tell people that Short_Desc is required but it would still be nice if we allowed it to be blank without letting the 'undefined' string appear.

For example, in this app, click one of the trolley routes:

http://storymaps.esri.com/templates/shortlist/?webmap=d8431f956aad429f8ade527ed81ad1a1

prevent_undefined