<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Dear OpenLayers members and developers,<br><br>I hope you can help me to solve this problem of overviewmap:<br><br>This is my map:<br>________________________________________________<br>var mainMapOptions = {<br> maxExtent: new OpenLayers.Bounds(565954.632,1143573.7,643612.041,1236513.090), <br> maxResolution: 585, <br> projection:"EPSG:4756", <br> units: "m",<br> tilesize: new OpenLayers.Size(256,256),<br> numZoomLevels: 11,<br> controls:[]<br>
};<br> map = new OpenLayers.Map(document.getElementById('map'),mainMapOptions);<br> var base = new OpenLayers.Layer("Lop nen",{isBaseLayer: true, displayInLayerSwitcher: false});<br> map.addLayer(base);<br><font size="3"><span style="font-family: times new roman;"> alayer = new OpenLayers.Layer.WMS("base layer", wms_host1,{layers:'stmstest',format: 'image/png', transparent: true});</span></font><br><font size="3"><span style="font-weight: bold; font-family: times new roman;">__________________________________________<br><br>and this is my overviewmap:<br><br></span></font><font size="3"><span style="font-weight: bold; font-family: times new roman;">__________________________________________</span><span style="font-family: times new roman;"><br>var overviewOptions =
{<br> maxExtent: new OpenLayers.Bounds(565954.632,1143573.7,643612.041,1236513.090),<br> restrictedExtent: new OpenLayers.Bounds(565954.632,1143573.7,643612.041,1236513.090),<br> maxResolution: 585,<br> units: 'm',<br> layers: [alayer],<br> tilesize: new OpenLayers.Size(256,256),<br> projection: "EPSG:4756",<br> numZoomLevels: 11};<br> var ovv = new OpenLayers.Control.OverviewMap({mapOptions: overviewOptions})<br>
map.addControl(ovv);<br></span><span style="font-weight: bold; font-family: times new roman;"></span></font><font size="3"><span style="font-weight: bold; font-family: times new roman;">__________________________________________</span></font><br><br>The problem is: <span style="font-weight: bold;">no map in overviewmap control</span>.<br><br>I read many posts but none of them help me. This link:<br><br><a target="_blank" href="http://n2.nabble.com/Problems-with-Overviewmap-td2861501.html#a2861501"><span class="yshortcuts" id="lw_1249448267_0">http://n2.nabble.com/Problems-with-Overviewmap-td2861501.html#a2861501</span></a><br><br>is good news but no information for details<br><br>Thanks for your attention!<br><font size="3"><span style="font-weight: bold; font-family: times new roman;"><br></span></font></td></tr></table><br>