Thanks...<br>But how can I do that?<br><br>I tried add to that layer : projection: new OpenLayers.Projection("EPSG:900913"),<br>But without success...<br><br>var wmsBaseLayer = new OpenLayers.Layer.WMS("<div id=":1m2">
TestWmsBaseLayer",<br>
_mapfile, {<br>
"LAYERS": ['WmsBaseLayer'],<br> projection: new OpenLayers.Projection("EPSG:900913"),<br>
transparent: true, <br>
format: "image/png"<br>
}, {<br>
isBaseLayer: true,<br>
visibility: true <br>
}); </div><br>Thanks<br><br><div class="gmail_quote">On Tue, Aug 17, 2010 at 9:46 AM, BMcBride <span dir="ltr"><<a href="mailto:bmcbride@chacompanies.com">bmcbride@chacompanies.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Make sure your wmsBaseLayer has the same projection as your Bing base layer<br>
(EPSG:900913). Have a look at the<br>
<a href="http://docs.openlayers.org/library/layers.html" target="_blank">http://docs.openlayers.org/library/layers.html</a> layers documentation and<br>
note particularly this part: "The currently active base layer determines the<br>
available projection (coordinate system) and zoom levels available on the<br>
map".<br>
<br>
-----<br>
Bryan R. McBride, GISP<br>
<a href="http://www.bryanmcbride.com" target="_blank">http://www.bryanmcbride.com</a> <a href="http://bryanmcbride.com" target="_blank">bryanmcbride.com</a><br>
<a href="http://geoserving.net/" target="_blank">http://geoserving.net/</a> <a href="http://geoserving.net" target="_blank">geoserving.net</a><br>
<font color="#888888">--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Switching-between-a-Google-Bing-base-layer-to-WMS-base-layer-tp5431832p5431906.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Switching-between-a-Google-Bing-base-layer-to-WMS-base-layer-tp5431832p5431906.html</a><br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</font></blockquote></div><br>