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 was expecting the above to add multiple static tilecaches to my map
but it only adds the first layer in the array. Each by themselves
produces the expected result but in this example the second layer
doesn't get loaded (there are no web requests to it at all).

Does Layer.Tilecache allow multiple layers?

Thanks,
-Matt
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to