Hmmm. No dice with these changes incorporated. I&#39;m not sure what is going on. For the curious there is a live link here:<div><br></div><div><a href="http://truevector.skygone.net:8080/DWTEdstest/">http://truevector.skygone.net:8080/DWTEdstest/</a> <br>
<br><div class="gmail_quote">On Thu, Jan 26, 2012 at 10:50 AM, Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
you put most layer options in the layer params object, and you should<br>
set the maxExtent on the WMS layer. Something like<br>
<div class="im"><br>
            tiled = new OpenLayers.Layer.WMS(<br>
                &quot;dwt_lata_proj - Untiled&quot;,<br>
&quot;<a href="http://localhost:8080/geoserver/wms" target="_blank">http://localhost:8080/geoserver/wms</a>&quot;,<br>
                {<br>
</div>                    layers: &#39;DWT:dwt_lata_proj&#39;,<br>
<div class="im">                    styles: &#39;&#39;,<br>
                    format: format,<br>
                    transparent:true,<br>
</div>                }, {<br>
                    numZoomLevels:19,<br>
                    maxExtent: new OpenLayers.Bounds(<br>
                        -19840232, <a href="tel:2028971.375" value="+12028971375">2028971.375</a>,<br>
                        -7262943, 11534410<br>
                    ),<br>
                    minResolution:0.5971642833948135,<br>
                    maxResolution:156543.03390625,<br>
<div class="im">                    singleTile: true,<br>
                    ratio: 1<br>
                }<br>
            );<br>
<br>
</div>The above should work both with singleTile: true and without.<br>
<br>
Andreas.<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jan 26, 2012 at 7:44 PM, Kjel Anderson<br>
&lt;<a href="mailto:kanderson@truevectortech.com">kanderson@truevectortech.com</a>&gt; wrote:<br>
&gt; Looking at it now I see the version that is working &quot;best&quot; is with the wms<br>
&gt; layer being untiled.<br>
&gt;<br>
&gt;   function init(){<br>
&gt;                 // if this is just a coverage or a group of them, disable a<br>
&gt; few items,<br>
&gt;                 // and default to jpeg format<br>
&gt;                 format = &#39;image/png&#39;;<br>
&gt;<br>
&gt;<br>
&gt;                 var bounds = new OpenLayers.Bounds(<br>
&gt;                     -19840232, <a href="tel:2028971.375" value="+12028971375">2028971.375</a>,<br>
&gt;                     -7262943, 11534410<br>
&gt;                 );<br>
&gt;                 var options = {<br>
&gt;                     controls: [],<br>
&gt;                     maxResolution: 49130.03515625,<br>
&gt;                     projection: &quot;EPSG:900913&quot;,<br>
&gt;                     units: &#39;m&#39;<br>
&gt;                 };<br>
&gt;                 map = new OpenLayers.Map(&#39;map&#39;, options);<br>
&gt;<br>
&gt;             var road = new OpenLayers.Layer.Bing({<br>
&gt;                 name: &quot;Road&quot;,<br>
&gt;                 key: apiKey,<br>
&gt;                 type: &quot;Road&quot;<br>
&gt;             });<br>
&gt;             var hybrid = new OpenLayers.Layer.Bing({<br>
&gt;                 name: &quot;Hybrid&quot;,<br>
&gt;                 key: apiKey,<br>
&gt;                 type: &quot;AerialWithLabels&quot;<br>
&gt;             });<br>
&gt;             var aerial = new OpenLayers.Layer.Bing({<br>
&gt;                 name: &quot;Aerial&quot;,<br>
&gt;                 key: apiKey,<br>
&gt;                 type: &quot;Aerial&quot;<br>
&gt;             });<br>
&gt;<br>
&gt;             map.addLayers([road, hybrid, aerial]);<br>
&gt;<br>
&gt;             tiled = new OpenLayers.Layer.WMS(<br>
&gt;                 &quot;dwt_lata_proj - Untiled&quot;,<br>
&gt; &quot;<a href="http://localhost:8080/geoserver/wms" target="_blank">http://localhost:8080/geoserver/wms</a>&quot;,<br>
&gt;                 {<br>
&gt;                     width: &#39;512&#39;,<br>
&gt;                     srs: &#39;EPSG:900913&#39;,<br>
&gt;                     layers: &#39;DWT:dwt_lata_proj&#39;,<br>
&gt;                     height: &#39;386&#39;,<br>
&gt;                     styles: &#39;&#39;,<br>
&gt;                     format: format,<br>
&gt;                     transparent:true,<br>
&gt;                     numZoomLevels:19,<br>
&gt;                     minResolution:0.5971642833948135,<br>
&gt;                     maxResolution:156543.03390625<br>
&gt;                 },<br>
&gt;                 {singleTile: true, ratio: 1}<br>
&gt;             );<br>
&gt;<br>
&gt;             map.addLayer(untiled);<br>
&gt;<br>
&gt;             // build up all controls<br>
&gt;             map.addControl(new OpenLayers.Control.PanZoomBar({<br>
&gt;                 position: new OpenLayers.Pixel(2, 15)<br>
&gt;             }));<br>
&gt;             map.addControl(new OpenLayers.Control.Navigation());<br>
&gt;             map.addControl(new OpenLayers.Control.Scale($(&#39;scale&#39;)));<br>
&gt;             map.addControl(new OpenLayers.Control.MousePosition({element:<br>
&gt; $(&#39;location&#39;)}));<br>
&gt;             map.addControl(new OpenLayers.Control.LayerSwitcher());<br>
&gt;<br>
&gt; On Thu, Jan 26, 2012 at 10:33 AM, maw269 &lt;<a href="mailto:maw269@gmail.com">maw269@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Is your bing layer imagery? I&#39;ve had nothing but issues combining layers<br>
&gt;&gt; with<br>
&gt;&gt; Bing Imagery layers.<br>
&gt;&gt; Anyhow, can you post the relevant code so we could take a look?<br>
&gt;&gt; --Matt<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <a href="http://osgeo-org.1560.n6.nabble.com/overlaying-tiled-WMS-on-top-of-bing-tp4341145p4341275.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/overlaying-tiled-WMS-on-top-of-bing-tp4341145p4341275.html</a><br>

&gt;&gt; Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
</font></span></blockquote></div><br></div>