[OpenLayers-Dev] Scale dependencies with TileCache
fporcelli at taic.net
fporcelli at taic.net
Tue Sep 4 12:05:28 EDT 2007
Hello --
I was interested in creating a cached layer with scale dependencies using TileCache. The layer configuration using just OpenLayers works fine and is shown below. However I want to cache this layer and have tileCache only request tiles from within the minScale and maxScale parameters. Is this possible?
layer_test = new OpenLayers.Layer.WMS("test",
"http://gis.test.com/cgi-bin/dir/test_wms.cgi",
{layers: '1'},
{isBaseLayer: false, reproject: false, minScale: 100000, maxScale: 100});
Thanks,
Frank
More information about the Dev
mailing list