[OpenLayers-Users] Google Overviewmap
JuKiM
rifins at gmail.com
Fri Feb 5 09:38:06 EST 2010
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 <rifins at gmail.com>
> 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 <max.weidemann at freenet.de>
>
>>
>> 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
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100205/cdbb97ae/attachment.html
More information about the Users
mailing list