Maybe this is why is not shown correctly the overview..<div><br><div><a href="http://trac.openlayers.org/ticket/1050">http://trac.openlayers.org/ticket/1050</a></div><div><br></div><div><a href="http://trac.openlayers.org/ticket/1050"></a>Thanks. <br>
<br><div class="gmail_quote">2010/2/5 JuKiM <span dir="ltr">&lt;<a href="mailto:rifins@gmail.com">rifins@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The only thing that changes with <span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">overview.maximizeControl(); is that the square that indicates the visible zone of the base layer in the overview map is centered in the overview&#39;s map, but I think that the real center of the base layer, is still in the top left of the overview... </span><div>

<font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">Any ideas?<br>
</span></font><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><br><div class="gmail_quote">2010/2/5 JuKiM <span dir="ltr">&lt;<a href="mailto:rifins@gmail.com" target="_blank">rifins@gmail.com</a>&gt;</span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It doesn&#39;t works for me.. <div><br></div><div>For a high zoom level, the center of the base layer and the center of the overview are very similar, but as I got lower zoom levels and showing more map, it seems like the center of the base layer is more to the north-west than the center of the overview.. And in each refresh of overview map zoom level the diference between both centers increases..</div>


<div><br></div><div>Can be a problem with projections maybe?</div><div><br></div><div>Thanks!</div><div><br><br><div class="gmail_quote"><div>2010/2/5 Max Weidemann <span dir="ltr">&lt;<a href="mailto:max.weidemann@freenet.de" target="_blank">max.weidemann@freenet.de</a>&gt;</span><br>


</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div><div></div><div>
I think it is a bug in Openlayers. I described it here<br>
<br>
if you call the maximizeControl Function after you add the Control and set<br>
spherical Mercator to true it will work.<br>
<br>
map.addControl(overview);<br>
overview.maximizeControl();<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Google-Overviewmap-tp4519147p4520026.html" target="_blank">http://n2.nabble.com/Google-Overviewmap-tp4519147p4520026.html</a><br>
</font><div><div></div><div>Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</div></div></div></div></blockquote></div><br></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>