Adding WMTS service - Origin Problems

522
0
11-19-2014 09:13 AM
DaveAdams
New Contributor III

Hi,

I'm writing my first full Javascript app and I have a requirement to add one of my company's GeoServer WMTS services as a baselayer. I have successfully got the service drawing without a proxy page but noticed that some of the levels were mis-aligned. When I looked back at the Capabilities.xml I found that some of the levels have slightly different y origin's which is causing the misalignment. Adding the layer using TileInfo only gives me the  chance to add one origin point. I looked around the web and found that OpenLayers gets over this by allowing the adding of different tile origins for each matrix or level. Can I split the levels into several tileinfo objects to cope with the different origin points?

Any thoughts greatly appreciated.

Dave A.

Tags (1)
0 Kudos
0 Replies