<div dir="ltr">Thanks Julien. I actually fixed it and it ended up being something very similar. The style class for the red box was at a lower z-index than the base layer... Very odd. <br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Sep 4, 2013 at 9:48 AM, Julien-Samuel Lacroix <span dir="ltr"><<a href="mailto:jlacroix@mapgears.com" target="_blank">jlacroix@mapgears.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Not sure if it helps, but last time I encountered something like, it was because I didn't had the style.css file to my page. Edit the path of the following include to reflect your installation:<br>
<br>
        <link rel="stylesheet" href="/openlayers/theme/<u></u>default/style.css" type="text/css"><br>
<br>
<br>
Does the OverviewMap example works?<br>
<br>
Julien<div><div class="h5"><br>
<br>
On 13-09-04 08:11 AM, Rob Hyx wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
I have a very simple overview map:<br>
<br>
var overviewBaseLayer = map.layers[0].clone();<br>
overviewBaseLayer.<u></u>setIsBaseLayer(true);<br>
var overview = new OpenLayers.Control.<u></u>OverviewMap({<br>
     maximized:true,<br>
     layers:[overviewBaseLayer]<br>
});<br>
map.addControl(overview);<br>
<br>
(Cloning the layer and adding it manually was the only way I could get<br>
the overview map to construct without erroring on "this.baseLayer is null".)<br>
<br>
So now the overview map shows up and follows the movements of the map,<br>
but no red box. Any ideas? I'm using OL 2.12 and it does this in both<br>
Firefox 17 and IE 8.<br>
<br>
Thanks in advance!<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/openlayers-<u></u>users</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Julien-Samuel Lacroix<br>
Mapgears<br>
<a href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a><br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/openlayers-<u></u>users</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div style="text-align:left"><b>HYX</b> </div><div style="text-align:left"><a href="http://hyx-music.com" target="_blank">http://hyx-music.com</a></div>
</div>