<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
> I have 2 different behavior.<br>
> TMS: Using MapProxy as TMS I still see a huge california (bigger than the world) with the correct colors and transparency.<br>
<br>
</div>Can you try /tiles instead of /tms? See <a href="http://mapproxy.org/docs/0.8.5.dev-20100818/services.html#openlayers" target="_blank">http://mapproxy.org/docs/0.8.5.dev-20100818/services.html#openlayers</a><br>
<div class="im"><br></div></blockquote><div><br>Perfect !... this is working as expected ! :)<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
> using WMS I can see California in the right place, right size for ANY zoom level... but it still displays a black background... (TMS still same problems....)<br>
<br>
</div>You need to tell OpenLayers that this layer is transparent.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br>actually it is displayed with opacity 0.5... so it is displayed in top of Google maps but still you can see google maps behind it... but it draws also a black background (semi transparent)... infact the images that I get from the URL generated by OpenLayers woud be a black box with a piece of CA drawn over it....<br>
<br>so in OpenLayers I have exactly the same configuration for TileCache than for MapProxy:<br><br>TileCache:<br> var ca_wild_fire_tc = new OpenLayers.Layer.WMS( "CA Wild Fire TileCache",<br> "<a href="http://10.0.1.40/tiles/">http://10.0.1.40/tiles/</a>",<br>
{ layers: 'ca_wild_fire'<br> } , <br> {<br> opacity: 0.5,<br> visibility: false <br> }<br> ); <br>
<br>
<a href="http://10.0.1.40/tiles/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13501836.674676,5097432.5405688,-13496944.704867,5102324.5103781&WIDTH=256&HEIGHT=256">http://10.0.1.40/tiles/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13501836.674676,5097432.5405688,-13496944.704867,5102324.5103781&WIDTH=256&HEIGHT=256</a><br>
<br>(tile with part of the map)<br><br>MapProxy:<br><br> var ca_wild_fire_mp_wms = new OpenLayers.Layer.WMS( "CA Wild Fire MapProxy WMS",<br> "<a href="http://10.0.1.40:8123/service/">http://10.0.1.40:8123/service/</a>",<br>
{ layers: 'ca_wild_fire',<br> } , <br> {<br> opacity: 0.5,<br> visibility: false <br> }<br> ); <br>
<br><a href="http://10.0.1.40:8123/service/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13501836.674676,5097432.5405688,-13496944.704867,5102324.5103781&WIDTH=256&HEIGHT=256">http://10.0.1.40:8123/service/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13501836.674676,5097432.5405688,-13496944.704867,5102324.5103781&WIDTH=256&HEIGHT=256</a><br>
<br>(black tile with part of the map)<br>
<br><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5">
<br>
--<br>
Oliver Tonnhofer <<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>><br>
Omniscale - Dominik Helle, Oliver Tonnhofer GbR<br>
Nadorster Str. 60, 26123 Oldenburg<br>
Tel: +49(0)441/9392774-2 (Fax: 9)<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sebastian E. Ovide<br><br><br><br>