has anyone tried to cache WMS layers from <a href="http://openmaps.gov.bc.ca">openmaps.gov.bc.ca</a>?<br><br>if so, can you please share your config so i can see why i am getting pink tiles in OL.<br><br>my TC config is as follows:<br>
<br>[test2]<br>type=WMS<br>url=<a href="http://openmaps.gov.bc.ca/mapserver/base?service=wms">http://openmaps.gov.bc.ca/mapserver/base?service=wms</a><br>layers=C_MAJOR_CITIES_POINTS_500M <br>extension=gif<br>bbox=200000,300000,1900000,1800000<br>
srs=EPSG:3005<br>extent_type=loose<br>maxResolution=3320<br>levels=8 <br><br><br>and my OL layer constructor looks like:<br><br>var max_extent = new OpenLayers.Bounds(200000,300000,1900000,1800000);<br>max_res = 3320;<br>
<br> layer = new OpenLayers.Layer.WMS( "VMap0",<br> "tilecache.cgi?", {layers: 'test2', format: 'image/gif' }, {maxExtent: max_extent, maxResolution: max_res} );<br><br>