[OpenLayers-Users] Problems with grid on wms request

Frederico Lucca fredlucca at gmail.com
Tue Jan 2 10:09:17 EST 2007


Hello list,

I'm having trouble with some tiles not loaded when panning to south.
I'm looking into some fault on Grid.js, my buffer is 1 and my tilesize is
512 pixels.
I'm debbuging the moveTo function and for me the problem is when it goes to
the last else into the while instead of enter this
else if (tlViewPort.y < -this.tileSize.h * this.buffer) {
      this.shiftRow(false);
}

for example:
tlViewPort.y = -255
-this.tileSize.h * this.buffer = -512

-255 < -512

This is false, but when this occours a row is not added to the end of the
grid and I stay without the last image at south.

How can I deal with this problem???

Thanks in advance

Fred

-- 
"Everything under the sun is in tune
But the sun is eclipsed by the moon"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070102/d1939bd7/attachment.html


More information about the Users mailing list