<div dir="ltr"><div><div><div><div>I have a very simple overview map:<br><br></div>var overviewBaseLayer = map.layers[0].clone();<br></div>overviewBaseLayer.setIsBaseLayer(true);<br>var overview = new OpenLayers.Control.OverviewMap({<br>
</div>    maximized:true,<br></div>    layers:[overviewBaseLayer]<br><div><div><div>});<br></div><div>map.addControl(overview);<br><br></div><div>(Cloning the layer and adding it manually was the only way I could get the overview map to construct without erroring on "this.baseLayer is null".)<br>
<br></div><div>So now the overview map shows up and follows the movements of the map, but no red box. Any ideas? I'm using OL 2.12 and it does this in both Firefox 17 and IE 8.<br><br>Thanks in advance!<br clear="all">
</div></div></div></div>