I'm just calling polygonSymbolizer.setFill(styleBuilder.createFill(new ColorRampFunction(colorList))). I have one featuretypestyle with one rule.
On 2010-05-27, at 12:18 AM, Michael Bedward wrote: > Hello Enamul, > >> I tried this really simple example to color the map based on the >> hashcode of the geometry. But it seems to be drawing all the shapes >> with a single color on every refresh. What am I doing wrong here ? > > It sounds like your function is only being called once to set the fill > for all features, rather than being called for each feature. How are > you using it in your Style ? > > Michael ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
