Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've displaying Ordnance Survey UK tiles in OpenLayers using a TMS Layer the scales are using are 1000K, 250K, 50K and 10K. I've set the maxExtent to 0.0, 0.0, 700000.0, 1300000.0 which is working fine for 1000K, 250K and 50K. However when viewing the 10K tiles any markers added are out by quite a bit. If I set maxExtent to 5000.0, 5000.00000008, 660000.0, 1225000.0 then the 10K tiles are correct but the rest are out.

Is it possible to have an array of maxExtents or is there a better solution?

Thanks

share|improve this question
    
mortimermaps.appspot.com/wtp3/wtp3.htm might help you - check the source code. –  Mapperz Jun 12 '13 at 16:04
    
Hi Mapperz, Thanks for this, I forgot to mention that I'm actually cutting my own tiles up instead of using the OpenSpace tiles. I'm using maptiler to do this so I have different resolutions to OS. –  Strikeforce Jun 12 '13 at 18:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.