[OpenLayers-Users] when panning E/W, map shifts in Y direction

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Fri Feb 16 11:22:45 EST 2007


I've done some more analysis, this is only happens when the map width and/or
height is an odd number.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


--------- Oorspronkelijk bericht --------
Van: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Naar: users at openlayers.org <users at openlayers.org>
Onderwerp: Re: [OpenLayers-Users] when panning E/W, map shifts in Y
direction
Datum: 16/02/07 12:59

> Sorry meant 2.3RC2 ofcourse.
> 
> Best regards,
> Bart
> 
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
> 
> 
> --------- Oorspronkelijk bericht --------
> Van: Bart van den Eijnden OSGIS &lt;bartvde at osgis.nl&gt;
> Naar: users at openlayers.org &lt;users at openlayers.org&gt;
> Onderwerp: [OpenLayers-Users] when panning E/W, map shifts in Y direction
> Datum: 16/02/07 12:57
> 
> &gt; Hi list,
> &gt; 
> &gt; just got a report of the following (using 2.2RC2):
> &gt; 
> &gt; if the map is panned, for instance 4 times to the right using
> &gt; map.pan(map.size.w/2, 0), and then back again 4 times
> &gt; (map.pan(-map.size.w/2, 0), the map 
> &gt; shifts in the Y direction.
> &gt; 
> &gt; Does anybody have an idea what could cause this?
> &gt; 
> &gt; The bbox's in the  url's are:
> &gt; 1) initial situation:
> &gt; 111358.132624,403032.302298,118389.382624,408101.342995
> &gt; 2) after panning 4 times to the right:
> &gt; 125420.632624,403082.615357,132451.882624,408151.656054
> &gt; 3) after panning 4 times back to the initial location:
> &gt; 111358.132624,403132.928416,118389.382624,408201.969113
> &gt; 
> &gt; As you can see the shift is 100 meters in the Y direction.
> &gt; 
> &gt; Best regards,
> &gt; Bart
> &gt; 
> &gt; --
> &gt; Bart van den Eijnden
> &gt; OSGIS, Open Source GIS
> &gt; http://www.osgis.nl
> &gt; 
> &gt; 
> &gt; 
> &gt; 
> &gt; 
> &gt; _______________________________________________
> &gt; Users mailing list
> &gt; Users at openlayers.org
> &gt; http://openlayers.org/mailman/listinfo/users
> &gt; 
> &gt; 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 






More information about the Users mailing list