AnsweredAssumed Answered

Add widget to a Story Map template

Question asked by ethoms on Mar 26, 2014
Latest reply on Jun 15, 2016 by yangliu2209
Has anyone successfully added an extra javascript widget, from the samples for example, to a story map? Like the swipe tool or a basemap gallery?

In all of the samples at which I have looked, a 'map' variable is passed to the widget and I can usually see where in the code the map is created, through a createMap function, for instance. But I cannot figure out where the equivalent is happening in a story map template. There is no reference to 'createMap', no 'map' variable. I presume the creation is tucked away somewhere in the minimized js files. So, can I get a reference to it from my index.html?

If you have done this, please let me know!