You should configure ArcGIS to serve 900913. I do not even know if that is possible. I guess it is.<br>OpenLayers can&#39;t reproject itself.<br><br><div class="gmail_quote">On Mon, Jun 22, 2009 at 2:26 PM, moony <span dir="ltr">&lt;<a href="mailto:k_karo@web.de">k_karo@web.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi all,<br>
<br>
I want to use Google Maps as baselayer and overlay wms, which are delivered<br>
by ArcGIS Server.<br>
OpenLayers is always using &quot;epsg:900913&quot;, but ArcGIS Servers uses &quot;epsg:<br>
102113&quot; for the google projection.<br>
How can I force OpenLayers to use &quot;epsg: 102113&quot; instead of &quot;epsg: 900913&quot;?<br>
Defining the projection in the options doesn&#39;t work.<br>
<br>
var options = {<br>
                projection: new OpenLayers.Projection(&quot;EPSG:102113&quot;),<br>
                //projection: new OpenLayers.Projection(&quot;EPSG:900913&quot;),<br>
                //displayProjection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>
                units: &quot;m&quot;,<br>
                numZoomLevels: 18,<br>
                maxResolution: 156543.0339,<br>
                maxExtent: new OpenLayers.Bounds(-20037508, -20037508,<br>
                                                 20037508, 20037508.34)<br>
            };<br>
           map = new OpenLayers.Map(&#39;map&#39;, options);<br>
<br>
             var gphy = new OpenLayers.Layer.Google(<br>
                &quot;Google Physical&quot;,<br>
                {type: G_HYBRID_MAP, &#39;sphericalMercator&#39;: true}<br>
            );<br>
<br>
var wms = new OpenLayers.Layer.WMS( &quot;Fläche natürlicher Vegetation pro<br>
Einwohner&quot;,<br>
<br>
&quot;<a href="http://xen1ags:8399/arcgis/services/Monitor/Bevoelkerung_Web/MapServer/WMSServer" target="_blank">http://xen1ags:8399/arcgis/services/Monitor/Bevoelkerung_Web/MapServer/WMSServer</a>?&quot;,<br>
                        {layers: &#39;0&#39;, srs: &#39;EPSG:102113&#39;,format: &#39;image/png&#39;, transparent:<br>
&#39;true&#39;},<br>
                        {singleTile: true, isBaseLayer: false}<br>
                        );<br>
<br>
map.addLayers([gphy,wms]);<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Overlay-on-Google-tp2973539p3135908.html" target="_blank">http://n2.nabble.com/Overlay-on-Google-tp2973539p3135908.html</a><br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
<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>