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