Hello List, I am trying to add an overlay on top of google maps using epgs:102113. But I got an error message, that the "Paramenter 'src' contains unacceptable value". I am sorry, but I cannot see, what I am doing wrong, why it doesn't work.
Thanks! var map; var webproj = "EPSG:102113"; var webextent = new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34); var webunits= "m"; function init(){ var options = { maxExtent : webextent, projection: webproj, units: webunits, maxResolution: 156543.0339, numZoomLevels: 9 }; map = new OpenLayers.Map( $('map') , options); var gphy = new OpenLayers.Layer.Google( "Google Physical", {type: G_HYBRID_MAP, 'sphericalMercator': true} ); map.addLayer(gphy); var wms = new OpenLayers.Layer.WMS( "WMS", "http://xen1ags:8399/arcgis/services/Monitor/Bevoelkerung_Bundesland_Web_Mercator/MapServer/WMSServer", {layers: '1', srs: 'EPSG:102113', format: 'image/png', transparent: 'true'}, {'reproject': false, 'opacity': 0.4, isBaseLayer: false}); map.addLayer(wms); map.setCenter(OpenLayers.Layer.SphericalMercator.forwardMercator(10.205188,51.457593), 6); map.addControl(new OpenLayers.Control.LayerSwitcher()); map.addControl(new OpenLayers.Control.MousePosition()); } -- View this message in context: http://n2.nabble.com/Overlay-on-Google-tp2973539p2993609.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users