Hello,

I am using Polygons in my Flex Application. Those polygons appear on a
Button click. Now my problem is, when I click Button for the first
time I get a proper Polygon with correct boundaries and colors. But
when I click it for the second time, the color inside the polygon
disappears and only boundaries are seen. When I click for the third
time, a correct polygon appears. This happens alternatively. I am
really confused why this is happening. Can someone help me in this
respect. Below is the code I am using for Styling a Polygon.

var pgon:Polygon = new Polygon(p,new PolygonOptions({
                                                     strokeStyle: new
StrokeStyle({
                                                                                
                                        color: 0x800000,
                                                                                
                                        thickness: 3,
                                                                                
                                        alpha: 0.2}),
                                                                                
         fillStyle: new FillStyle({
                                                                                
                                        color: Color.RED,
                                                                                
                                        alpha: 0.4}),
                                                                                
         tooltip:"Zone: "+polyName
                                                                                
          }));


Thanks in advance,
Nirmal Kumar Bhogadi.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to