> i can't do that michael. i combine it because i want to display it both in > map at the same time so i must set the style at the same time to repaint it > in displayselectedfeature. do you get what my point? >
Yes, I understand what you're trying to achieve but it sounds like you're confused about combining IDs into a set and combining rules into a style. For each category of features that you want to be rendered in a given colour your provide a rule with a filter for the feature IDs and a symbolizer describing how to draw the features. All of your rules are then combined into a single Style object. It's just an extension of what you see in the example code where there are only two rules being used: selected and other. I hope that makes it more clear for you. Michael ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
