<div>Looking at it now I see the version that is working "best" is with the wms layer being untiled.</div><div><br></div><div> function init(){</div><div> // if this is just a coverage or a group of them, disable a few items,</div>
<div> // and default to jpeg format</div><div> format = 'image/png';</div><div><br></div><div> </div><div> var bounds = new OpenLayers.Bounds(</div><div> -19840232, 2028971.375,</div>
<div> -7262943, 11534410</div><div> ); </div><div> var options = {</div><div> controls: [],</div><div> maxResolution: 49130.03515625,</div>
<div> projection: "EPSG:900913",</div><div> units: 'm'</div><div> };</div><div> map = new OpenLayers.Map('map', options);</div>
<div><br></div><div> var road = new OpenLayers.Layer.Bing({</div><div> name: "Road",</div><div> key: apiKey,</div><div> type: "Road"</div><div> });</div>
<div> var hybrid = new OpenLayers.Layer.Bing({</div><div> name: "Hybrid",</div><div> key: apiKey,</div><div> type: "AerialWithLabels"</div><div> });</div>
<div> var aerial = new OpenLayers.Layer.Bing({</div><div> name: "Aerial",</div><div> key: apiKey,</div><div> type: "Aerial"</div><div> });</div>
<div><br></div><div> map.addLayers([road, hybrid, aerial]);</div><div> </div><div> tiled = new OpenLayers.Layer.WMS(</div><div> "dwt_lata_proj - Untiled", "<a href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>",</div>
<div> {</div><div> width: '512',</div><div> srs: 'EPSG:900913',</div><div> layers: 'DWT:dwt_lata_proj',</div><div> height: '386',</div>
<div> styles: '',</div><div> format: format,</div><div> transparent:true,</div><div> numZoomLevels:19,</div><div> minResolution:0.5971642833948135,</div>
<div> maxResolution:156543.03390625</div><div> },</div><div> {singleTile: true, ratio: 1} </div><div> );</div><div> </div><div> map.addLayer(untiled);</div>
<div><br></div><div> // build up all controls </div><div> map.addControl(new OpenLayers.Control.PanZoomBar({</div><div> position: new OpenLayers.Pixel(2, 15)</div><div> }));</div>
<div> map.addControl(new OpenLayers.Control.Navigation());</div><div> map.addControl(new OpenLayers.Control.Scale($('scale')));</div><div> map.addControl(new OpenLayers.Control.MousePosition({element: $('location')}));</div>
<div> map.addControl(new OpenLayers.Control.LayerSwitcher());</div><br><div class="gmail_quote">On Thu, Jan 26, 2012 at 10:33 AM, maw269 <span dir="ltr"><<a href="mailto:maw269@gmail.com">maw269@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is your bing layer imagery? I've had nothing but issues combining layers with<br>
Bing Imagery layers.<br>
Anyhow, can you post the relevant code so we could take a look?<br>
--Matt<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <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>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</font></span></blockquote></div><br>