I get the idea, brilliant! Many merci! Steve
Julien-Samuel Lacroix <[email protected]>@geoext.org Envoyé par : [email protected] 2013-01-25 10:42 A [email protected] cc Objet Re: [Users] layer using tilecache or wms depending on scale Hi, You will need two layers one for the WMS and one for the TileCache. Each of them will have a minscale/maxscale and displayInLayerSwitcher: false. You will then have a third (dummy) layer with displayInLayerSwitcher set to true. Now add a event to control your WMS and TileCache layer. When the Dummy layer visibility change, turn on/off the visibility of both the WMS and TileCache layers. Best regards, Julien On 13-01-24 11:33 AM, [email protected] wrote: > I use a tilecache layer defined from zoom 20 to 10 > > I really need to call the tiles using OpenLayers.Layer.TileCache, not > the tilecache script in a OpenLayers.Layer.WMS("WMS > layer","localhost/cgi-bin/tilecache ..........) > > Means I need to call OpenLayers.Layer.TileCache from zoom 1 to 10 > > and OpenLayers.Layer.WMS(mapserver wms layer) from zoom 11 to 20 > > Is it possible using a single node? Maybe using minscale and maxscale in > the mapfile? > > I could not make it work > > thanks > > steve > > > _______________________________________________ > Users mailing list > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users > -- Julien-Samuel Lacroix Mapgears http://www.mapgears.com/ _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
