[OpenLayers-Users] baseLayer change problem
Christopher Schmidt
crschmidt at metacarta.com
Fri Jan 16 12:11:48 EST 2009
On Fri, Jan 16, 2009 at 05:26:16PM +0100, Alexandre Ardhuin wrote:
> Hi,
>
> I have a strange behaviour when switching baseLayer in IE. The google layer
> (the target baselayer) is not really centered : map.getPixelFromLonLat(map.
> getCenter()) returns (0,0)
Sounds like:
http://trac.openlayers.org/ticket/1550
> I can observe the same behaviour in FF (with SpericalMercator example) by
> stopping the execution of script during some seconds with a breakpoint (in
> Firebug) on Map.js at the line :
> this.baseLayer.moveTo(bounds, zoomChanged, dragging); ( in moveTo() )
> After resuming, map.getPixelFromLonLat(map.getCenter()) returns (0,0)
>
> Moreover, a resize of the window updates the map and resolves this
> problem...
>
> Regards,
>
> Alexandre.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list