How to set different color for polygon

Sep 12, 2008 at 12:12 PM

In my project we are dynamically setting different colors for polygons( getting colors from xml file ).Initially all the polygons are in different color  but when any of the polygon goes out of focus, its color get changed.

For instance we are adding three polygons likely Red,Green and Yellow while im focusing into yellow, the other two polygons changing its color to yellow. 

so is there any posibility to maintain the static color for polygon.

Thanks in advance.
Sep 12, 2008 at 12:41 PM

there is a post on pushpins as user controls, but the colours don't change