[OpenLayers-Dev] Problem with Layer/Grid.js:moveTo() function..

Louvy Joseph louvy.joseph at gmail.com
Wed May 2 04:20:54 EDT 2007


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?

Thanks ahead
Louvy Joseph



More information about the Dev mailing list