[OpenLayers-Users] My TileCache layer is off by scale and location

Christopher Schmidt crschmidt at metacarta.com
Thu Dec 6 15:22:44 EST 2007


On Thu, Dec 06, 2007 at 09:14:46PM +0100, Markus Spring wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi list,
> 
> my 2nd openlayers project tries to make use of TileCache for the background
> layer (in the 1st I used KaMaps), but now I have a problem:
> 
> http://gis.sisby.de/OLmaps/ngewerbegebiete

1. Turn off extent_type=loose.
2. 

"""
The most important thing to do is to ensure that the OpenLayers Layer
has the same resolutions and bounding box as your TileCache layer. You
can define theresolutions in OpenLayers via the 'resolutions' option or
the 'maxResolution' option on the layer. The maxExtent should be defined
to match the bboxparameter of the TileCache layer.
""" -- README

Start with that.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list