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 <[email protected]> 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
