AnsweredAssumed Answered

Story Map Zoom Level

Question asked by TotranMai on Mar 8, 2016
Latest reply on Mar 9, 2016 by wilsonl

Hi,

 

I’ve downloaded a shortlist ESRI story map codes and try to set the fixed min/man map zoom level,

Some posts here advise to add minZoom and maxZoom properties to the core.js, however the shortlist story map code only came with MAIN.JS

 

\shortlist-storytelling-template-js-1.4.7\app\js\main.js

 

 

I tried to add the minzoom and maxzoom properties in the main.js but it didn’t work

 

var mapDeferred = esri.arcgis.utils.createMap(WEBMAP_ID, "map", {

mapOptions: {

 

slider: false,

wrapAround180:false

minZoom: 10,

maxZoom: 12

 

},

ignorePopups: true

});

 

 

 

Did I do something wrong? Please help!!!

 

Thanks

Outcomes