I'm looking for an example (or some documentation would be nice) on how to pass
a feature to a function as you draw a map. Conceptually I need to do this:
fill = createFill(myFunction(feature.attribute))
Where myFunction(feature.attribute) would go off and look up the proper fill
color based on some attribute of the current feature. (The fill color could
be different for each feature, in other words).
The trouble I'm having is that there does not seem to be any clear example or
documentation about how to pass the current feature to this function - all the
examples I've found are either deprecated or don't seem to address what I need
to do.
Does anyone have an example they'd be willing to share, or a link to some
documentation for Geotools 8.0-RC1?
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users