[OpenLayers-Users] read wms parameter
Andreas Hocevar
ahocevar at opengeo.org
Thu Jun 28 08:17:03 PDT 2012
All WMS params are UPPERCASEd as soon as they are merged. So the answer is
mywms.params.LAYERS
Andreas.
On Thu, Jun 28, 2012 at 3:45 PM, Sven Schroeter <schroeter at netgis.de> wrote:
> Hi,
> I change the layers-Parameter of a WMS-Layer (mywms) using the
> mergeNewParams function:
>
> mywms.mergeNewParams({'layers': newlayers});
> mywms.redraw();
>
> This works fine, but how can I get(read) the current value of the parameter
> 'layers'?
> Thanks
> Sven
>
>
>
>
> _______________________________________________
> 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