Re: [OpenLayers-Users] using more than one Layer.TileCache in a map?

2008-12-01 Thread Eric Lemoine
Hi If you don't set isBaseLayer:false in the options passed to the Layer.TileCache constructor then the layer is a base layer. If you want the two TileCache layers to be active at the same time you must send isBaseLayer:false to one of them. Also, note that transparent:true has no effect as a Laye

[OpenLayers-Users] using more than one Layer.TileCache in a map?

2008-12-01 Thread Matt Bartolome
I have some pre-generated tilecaches. layer_a = new OpenLayers.Layer.TileCache( "a", tilecache_servers, "62851963"); layer_b = new OpenLayers.Layer.TileCache( "b", tilecache_servers, "62731963", {transparent: true}); base_layers = [layer_a, layer_b]; map.addLayers(base_layers); I