Maybe this is why is not shown correctly the overview.. http://trac.openlayers.org/ticket/1050
<http://trac.openlayers.org/ticket/1050>Thanks. 2010/2/5 JuKiM <[email protected]> > The only thing that changes with overview.maximizeControl(); is that the > square that indicates the visible zone of the base layer in the overview map > is centered in the overview's map, but I think that the real center of the > base layer, is still in the top left of the overview... > > Any ideas? > > > 2010/2/5 JuKiM <[email protected]> > > It doesn't works for me.. >> >> 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.. >> >> Can be a problem with projections maybe? >> >> Thanks! >> >> >> 2010/2/5 Max Weidemann <[email protected]> >> >>> >>> I think it is a bug in Openlayers. I described it here >>> >>> if you call the maximizeControl Function after you add the Control and >>> set >>> spherical Mercator to true it will work. >>> >>> map.addControl(overview); >>> overview.maximizeControl(); >>> -- >>> View this message in context: >>> http://n2.nabble.com/Google-Overviewmap-tp4519147p4520026.html >>> Sent from the OpenLayers Users mailing list archive at Nabble.com. >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://openlayers.org/mailman/listinfo/users >>> >> >> >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
