[OpenLayers-Users] SLD_BODY too many characters

Andreas Hocevar ahocevar at opengeo.org
Thu Nov 5 07:23:10 EST 2009


Hi,

stash wrote:
> thanks for the very helpful answers. Now it's working. I'm using Firefox but
> when the wms.post is needed in internet explorer I will leave it in my code.
>
> Infact the line unsupportedBrowsers: [] is extremely important, otherwise it
> doesn't work. Can someone tell me, what this line means?
>   

See 
http://dev.openlayers.org/docs/files/OpenLayers/Layer/WMS/Post-js.html#OpenLayers.Layer.WMS.Post.unsupportedBrowsers 
for an explanation. Basically Layer.WMS.Post can fall back to a Get 
request for browsers that do not support the iFrame-based approach to 
use Post requests well.

If your requests only work when unsupportedBrowsers is set to an empty 
array ([]), this means that your server does not support long URLs in 
Get requests.

Regards,
Andreas.

> Thanks for your answers. Now I'm happy :)
>
> Regards
> stash
>
>   


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list