Hi,<br><br>as a performance improvement I want to prevent the overview map from updating when it is closed. My approach is to redefine the isSuitableOverview method when the control is closed or opened. However, this doesn't work as expected, as no overview control at all is shown.<br>
<br>Any ideas?<br><br>OpenLayers.Control.MyOverviewMap = OpenLayers.Class(OpenLayers.Control.OverviewMap, {<br><br> //refresh overview map with every map request<br> isSuitableOverview: function() {<br> return true;<br>
},<br> minimizeControl: function (){<br> //do not update overview map when it is minimized<br> this.isSuitableOverview = function (){<br> return true;<br> }<br> },<br> maximizeControl: function (){<br>
//update overview map when it is maximized<br> this.isSuitableOverview = function (){<br> return false;<br> }<br> });<br><br>Franz<br>