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

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Tue Feb 20 14:44:40 EST 2007


Hi Christoper,

it's okay by me. I have a workaround for now by making sure the map 
width and height are not odd numbers.

Best regards,
Bart

Christopher Schmidt schreef:
> On Mon, Feb 19, 2007 at 09:08:57AM +0100, Bart van den Eijnden (OSGIS) wrote:
>   
>> Hi Christopher, list,
>>
>> I've tested this with 2.3RC3 this morning and the problem is still there
>> (1=initial, 2=pan 4 times east, 3=pan 4 times west again).
>>
>> 1: BBOX=111645.979497,503397.695033,112524.885747,504031.32512
>> 2: BBOX=113406.936564,503400.839599,114285.842814,504034.469686
>> 3: BBOX=111652.26863,503403.984165,112531.17488,504037.614253
>>
>> Now there is even a change in the X-direction which was not there before.
>> The change in the Y-direction seems less though.
>>     
>
> Bart --
>
> This issue is also present in OpenLayers 2.2, 2.1, and 2.0. I would say that 
> given the differences, we are probably dealing with subpixel rounding 
> issues: it looks like your difference is about 6 units / 650 units, which
> (depending on your map size) seems likely to be a difference of about
> 1px.
>
> Since this existed in 2.2, I don't think it should be considered a
> blocker for 2.3, but should be opened as a ticket against 2.4.  
>
> I agree that this behavior is odd, but it seems unlikely to be a blocker
> for use of the API, if it hasn't come up until now :)
>
> Do you feel okay with this?
>
> Regards,
>   


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




More information about the Users mailing list