[OpenLayers-Users] Problem setting the correct resolution with a grid layer

Dragos Ion dragospenet at yahoo.com
Sun Dec 6 09:24:30 EST 2009


Hmm, I got it.

It was a computation problem of the resolution values beacause the maxExtent was not exacly equal with SIZE * 1, SIZE * 5 and SIZE * 10 vs. 256 px slice size.
(instead it is something like 1, 1.923, 8.333)

Also I changed my coordinate function to be similar with the one at
http://trac.openlayers.org/wiki/UsingCustomTiles
and that fixed my zoom offset problem.

Dragos.




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091206/dd326b56/attachment.html


More information about the Users mailing list