Hi,
I've coded up a little patch that builds a GeoSilk-like
raster icon in code, making the icon resizable as
people ask for different icon sizes.

Attached you can find samplers for the 20x20, 40x40 and
20x40 case.
Hum, what, don't like the rectangular one? Well, that's
what the user asked for and that's what we do for vector
data too:

http://demo.opengeo.org/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=40&LAYER=tasmania_state_boundaries

The patch is attached to http://jira.codehaus.org/browse/GEOS-3863
if anyone wants to review.

Cheers
Andrea



<<inline: rasterIcon2040.png>>

<<inline: rasterIcon4040.png>>

<<inline: rasterIcon2020.png>>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to