[OpenLayers-Users] Problem with IE and "WMS with POST Requests to Avoid Long URLs" example

Esben Taudorf eta at le34.dk
Fri Feb 10 03:14:30 EST 2012


Hi everybody

 

I am looking at the "WMS with POST Requests to Avoid Long URLs" example:


http://openlayers.org/dev/examples/wms-long-url.html

 

I want to use this in my application because I have some rather large
OGC filters on my layers. I use the OGC filter because I also need to do
a WFS GetFeature request with

the same filters. The OGC filters is making the length of the HTTP GET
url longer then 2048 characters which is IEs limit.

 

While looking at the example in IE9 I have noticed a strange behaviour.
When the POST request is loading I get a "Web page can not be displayed"
error as shown on this image http://i42.tinypic.com/fpcg10.png. After
getting the response the map looks fine as shown on this image
http://i41.tinypic.com/2j5yvk9.png. So when I zoom or move the map I get
a flash of the 

"Web page can not be displayed" error.

 

Is there a way to solve this issue?

 

Any help or comment would be appreciated.

 

Regards Esben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120210/77b48291/attachment.html


More information about the Users mailing list