Re: [OpenLayers-Users] How to fetch polygon color from SLD ?

2009-12-01 Thread Dragan Podvezanec
Ivan Grcic-2 wrote: > > Hi, > > this is more for Geoserver user list... but try with this params: > > &LEGEND_OPTIONS=forceLabels:off&RULE=Rule 2a > > LEGEND_OPTIONS is a geoserver spesific so it probably wont work with > other wms servers, while RULE is SLD standard si it should work with >

Re: [OpenLayers-Users] How to fetch polygon color from SLD ?

2009-12-01 Thread Ivan Grcic
Hi, this is more for Geoserver user list... but try with this params: &LEGEND_OPTIONS=forceLabels:off&RULE=Rule 2a LEGEND_OPTIONS is a geoserver spesific so it probably wont work with other wms servers, while RULE is SLD standard si it should work with any comliant server. http://geoserver.org/d

[OpenLayers-Users] How to fetch polygon color from SLD ?

2009-12-01 Thread Dragan Podvezanec
Hi all. I'm trying to make custom layer switcher, with legend, because I have thematic map. It contains few polygon WMS layers from Geoserver. Those layers are same layer on GS, but filtered by attributes, so I can switch them on or off. What intterests me, how can I make small PNG with layer c