Integrate a LayerListtoggle into the model of storyMap shortlist

10-30-2014 02:36 AM
New Contributor II



I shall wish to integrate a layer list toggle into a shortList StoryMap

We found this example on the web >





The current code calls a value which I do not understand in the div LayerListToggle.

<input type="radio" name="thematicRadios" value="USA_Median_Home_Value_9153">


I suppose that "value"   is about the name of the map ?  But what means the suffix 9153...


Could we get ourselves the code of this application somewhere with more explanations ?


Have already had you an experience of integration of layerlisttoggle in a shortlist or other storysMaps template ? Or could be other examples ?


Thank you for your experience feedback


Bertrand Genty

GIS Support


City of Paris.

0 Kudos
1 Reply
New Contributor III

Hi Bertrand,

The value looks like the layer’s internal name – as encoded in the web map.  It is read from the response object (response.itemInfo.itemData.operationalLayers) that is returned from the createMap() call.

I took a look at the code for the app you have referenced.  Attached is a graphic which I believe shows the Javascript code changes required to populate that list.  Changes seem to be isolated to the initMap function.