[OpenLayers-Users] Re: Apply thematic in WMS layer using too long
sld
Andreas Hocevar
ahocevar at opengeo.org
Sat Jun 4 09:44:12 EDT 2011
Maybe it's just that your OpenLayers version is too old and POST
requests are not yet supported. Try upgrading to 2.11-rc1.
Andreas.
On Tue, May 31, 2011 at 11:04 AM, sasamil <sasha.milenkovic at gmail.com> wrote:
> This is my code (ms4w-mapserver):
>
> wmsLayer = new OpenLayers.Layer.WMS("Layer WMS",
> "http://mywmsserver.php?SERVICE=WMS&",
> {layers: "abcd", transparent: true},
> {isBaseLayer: false, visibility: false,
> tileOptions: {maxGetUrlLength: 2048}});
> map.addLayer(wmsLayer);
>
> It does work but it sends GET request ?!
>
> When I change maxGetUrlLength to be whatever... (for example -
> maxGetUrlLength: 8) everything is the same... It works but there is no POST
> request. GET request is being sent, anyway?!
>
> Can somebody help? That what I really need is sending a POST request.
>
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Apply-thematic-in-WMS-layer-using-too-long-sld-tp5815413p6421937.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list