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