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&#39;t work either. Any suggestions?<br><br>Here&#39;s the code:<br><br><span class="sourceRowText">//overviewMap object to&nbsp; resize to match the size of the overview map
</span><div class="sourceRow"><span class="sourceRowText">&nbsp;ovmap_size=new OpenLayers.Size($(&quot;img#OpenLayersDiv43&quot;).width(),$(&quot;img#OpenLayersDiv43&quot;).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