Turns out that SLDStyleFactory will cache the style if the fill
expression doesn't have at least one attribute set as argument. I was
using a ColorRampFunction that takes zero arguments, which made
SLDStyleFactory think that this is a static style. Doing this
resolves it:
propertyName_ = filterFactory_.property("the_geom");
super.setParameters(new ArrayList()
{{
add(propertyName_);
}});
On Thu, May 27, 2010 at 9:19 AM, Enamul <[email protected]> wrote:
>
> Any suggestions ?
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/ColorMap-on-polygons-tp5081998p5108512.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users