[OpenLayers-Users] Print problem using maxGetUrlLength and HTTP POST

Sven Schroeter schroeter at netgis.de
Fri Jan 17 06:46:49 PST 2014


Hi,

I'm using the maxGetUrlLength property of the layer's tileOptions option to
send a layer request via post to a custom WMS-Script.
This works fine for me, but I'm not able to print a map with this layers
using HTTP POST (with no browser).
You can test this problem on the example "WMS with POST Requests to Avoid
Long URLs"
http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/wms-long-url.h
tml
If you use  Long URL - POST requests you can't print the map
If you use Short URL - GET requests it's no problem.
Any idea to solve this problem?

Greetings
Sven






More information about the Users mailing list