I am trying to modify the size of the overviewMap control from its original settings (180,90) to display the whole overview map.<br>I seem to have achieved this, however when I drag the rectangle to browse the overview, its map scrolls, whereas it should stay fixed in the overview viewport.
<br>If I restrict the extents of the map to its size it doesn't work either. Any suggestions?<br><br>Here's the code:<br><br><span class="sourceRowText">//overviewMap object to resize to match the size of the overview map
</span><div class="sourceRow"><span class="sourceRowText"> ovmap_size=new OpenLayers.Size($("img#OpenLayersDiv43").width(),$("img#OpenLayersDiv43").height());</span></div><div class="sourceRow"><span class="sourceRowText">
scroller.update(ovmap_size);<br><br>//restrict the extent of the overview map<br></span></div><div class="sourceRow"><span class="sourceRowText">scroller.ovmap.restrictedExtent=new OpenLayers.Bounds.fromSize(ovmap_size);</span>
</div><br>-- <br>Best Regards, <br><br>Valentina Cartei<br>UK Tel. +44 (0)796 6882820