starting with long url overlay in IFrame mode (see #3376)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12115 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-06-21 10:05:44 +00:00
parent 75be4beadc
commit a863d9f572

View File

@@ -9,7 +9,7 @@ var base = new OpenLayers.Layer.WMS( "OpenLayers WMS",
);
var overlay = new OpenLayers.Layer.WMS("Overlay",
"http://suite.opengeo.org/geoserver/wms",
{layers: "usa:states", transparent: true},
{layers: "usa:states", transparent: true, makeTheUrlLong: longText},
{ratio: 1, singleTile: true, tileOptions: {maxGetUrlLength: 2048}}
);
map.addLayers([base, overlay]);