AnsweredAssumed Answered

Map Overview - 2 Map's conflicting with each other

Question asked by JordanBaumgardner_GIS on Mar 23, 2017
Latest reply on Mar 28, 2017 by JordanBaumgardner_GIS

We are in the middle of a 3.x to 4.3 port. Got to the Overview Widget and had to roll my own. But it's got issues. Seems if I add a layer to my overview, it messes with my main map.


JS Bin - Collaborative JavaScript Debugging 


The JS Bin as it is now, works. Look for the line:

var overviewMap = new Map({
// layers: [ovLayer],
basemap: "topo"


and add that layer back in.


var overviewMap = new Map({
layers: [ovLayer],
basemap: "topo"


It makes the main map go wonky.


Thoughts? I'm out of ideas.