Hi,
I have to give the possibility to switch between 2 BaseLayer. One has
to be a google map, so I create the map with the following options:


            var options = {
                // the "community" epsg code for spherical mercator
                projection: "EPSG:900913",
                // map horizontal units are meters
                units: "m",
                // this resolution displays the globe in one 256x256 pixel tile
                maxResolution: 78271.51695,
                // these are the bounds of the globe in sperical mercator
                maxExtent: new OpenLayers.Bounds(-20037508, -20037508,
                                                 20037508, 20037508)
            };

The problem is that the other WMS, which provides a raster layer,
doesn't support the google projection (EPSG:900913), but from
getCapabilities, just:

<CRS>CRS:84</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:32633</CRS>

How can I have the possibility to switch between the two layers?

Thank

f
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to