AW: [OpenLayers-Users] can I define an sld style inside the map
config?
Arnd Wippermann
arnd.wippermann at web.de
Tue Mar 6 12:57:52 EST 2012
Hi,
that should work:
wmsLayer = new OpenLayers.Layer.WMS ( "Titel", url,
{
SLD_BODY : "..." or
SLD : sldUrl //url to http-reachable file
}
Arnd
_____
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Robert
Buckley
Gesendet: Dienstag, 6. März 2012 18:26
An: users at openlayers.org
Betreff: [OpenLayers-Users] can I define an sld style inside the map config?
Hi,
Is it possible to define the style of a wms layer from inside the
OpenLayers.Layer.WMS config?
I´m sure i´ve seen it done somewhere, but can´t find it
here....http://dev.openlayers.org/releases/OpenLayers-2.11/doc/apidocs/files
/OpenLayers/Layer/WMS-js.html
cheers,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120306/5323a326/attachment.html
More information about the Users
mailing list