[OpenLayers-Users] xyz layers in non spherical mercator projection

Armin Burger armin.burger at gmx.net
Tue Feb 28 13:56:31 EST 2012


I would think you need to bring the tile requests of OL in line with 
your tile naming and grid organization scheme. You can define some 
parameters listed for the "Grid" layer type (from which XYZ layers 
inherit). There you can define "tileOrigin" and "tileOptions" though I 
don't really see what one could use for the "tileOptions".

Could be you need also to specify some definitions of the available zoom 
levels via "resolutions: [...]" and/or "serverResolutions: [...]" in the 
layer options. Maybe this page here helps somehow for this issue:


In worst cases you will need to use some trial and error and playing 
with the values.


On 27/02/2012 13:58, Mark Volz wrote:
> Hello,
> I am having trouble setting up a xyz layer in UTM. The image that my
> application is trying to get is 0/17/12.jpg. However, it should return
> 0/0/1.jpg. Does anyone know why openlayers is asking for the wrong
> images, and what steps I can do to correct it? Does anyone have any
> examples of using XYZ in something other than spherical mercator?
> Thanks
> Mark Volz
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

More information about the Users mailing list