Hi,
is it possible if i change my style through this way?
tiled = new OpenLayers.Layer.WMS(
"sri", "/geoserver/wms",
{
LAYERS: 'sri',
STYLES: '',
SLD:
'http://localhost:8080/geoserver/www/roadstyle2.xml',
format: format,
tiled: !pureCoverage,
tilesOrigin : map.maxExtent.left + ',' +
map.maxExtent.bottom
},
{
buffer: 0,
displayOutsideMaxExtent: true,
isBaseLayer: true
}
);
// setup single tiled layer
untiled = new OpenLayers.Layer.WMS(
"sri", "/geoserver/wms",
{
LAYERS: 'sri',
STYLES: '',
SLD:
'http://localhost:8080/geoserver/www/roadstyle2.xml',
format: format
},
{singleTile: true, ratio: 1, isBaseLayer: false}
);
map.addLayers([untiled, tiled]);
untiled.setstyles = 'Routing';
tiled.styles = 'Routing';
untiled.redraw();
tiled.redraw();
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/SLD-STYLE-tp7045827p7045827.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users