[OpenLayers-Dev] Problem with Layer/Grid.js:moveTo() function..
Christopher Schmidt
crschmidt at metacarta.com
Wed May 2 07:38:48 EDT 2007
On Wed, May 02, 2007 at 01:20:54AM -0700, Louvy Joseph wrote:
> I do not fully understand this function but Grid.js:moveTo() takes long
> time in the while loop if we move from one location on the WMS map to a
> very far away location.
>
> For example, say my current center is new york city and I move to
> california by doing a map.setCenter() call. [I am not dragging the map
> but directly making a setCenter() call]. Then the moveTo() function in
> Grid.js seems to loop forever while shifting one column or row at a time
> moving from new york to california. That takes too long time. Most of
> the time firefox thinks that the script is looping and asks whether I
> can stop it.
>
> Does anybody know what could be happening here?
What version of OpenLayers are you using? I know this existed in 1.0,
and may have existed in 2.0, but should have almost definitely been
fixed in 2.2.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Dev
mailing list