<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>you get it right etienne.&nbsp; We use sommeting like that to do the same trick...</DIV>
<DIV>&nbsp;</DIV>var layer_nocivi = new OpenLayers.Layer.WMS( "No civique", "<A href="http://spssogl90t/tilecache/tilecache.cgi">http://spssogl90t/tilecache/tilecache.cgi</A>?",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {layers: 'no_civique_role',<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; srs: 'EPSG:900913' <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }); 
<DIV>&nbsp;</DIV>
<DIV><BR>&gt;&gt;&gt; Etides &lt;etienne.desgagne@roche.ca&gt; 19/8/2009 18:00 &gt;&gt;&gt;<BR><BR>Hi,<BR>&nbsp;&nbsp;&nbsp; If I have a OL site and don't want to precalculate all the tiles from a<BR>WMS but instead let the users navigate and then use Tilecache to create the<BR>tiles and cache it the first time they hit a sector... Is it ok to create<BR>the layer this way:<BR><BR>var tc_wms = new OpenLayers.Layer.WMS( "My layer", "tilecache.py?", {...});<BR><BR>Is letting the users use the tilecache.py directly the way to go of if this<BR>should only be use to precalculate tiles?<BR><BR>Thanks a lot<BR><BR>Etienne<BR><BR>-- <BR>View this message in context: <A href="http://n2.nabble.com/Need">http://n2.nabble.com/Need</A>-a-simple-advice...-tp3475475p3475475.html<BR>Sent from the TileCache mailing list archive at Nabble.com.<BR>_______________________________________________<BR>Tilecache mailing list<BR>Tilecache@openlayers.org<BR><A href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache</A><BR></DIV></BODY></HTML>