I create Polygon, I set to it properties, I add a layer on a map:

var polygon = new GPolygon(theArray, "#ffffff" , 1, 1, "#ffff00", 0);
map.addOverlay(polygon);

adding Listeners:

GEvent.addListener(polygon, "mouseover", function(){
        this.setFillStyle({
            color: "#ffff00",
            weight: 3,
            opacity: 0.3
        });
 });


GEvent.addListener(polygon, 'mouseout', function() {
        this.setFillStyle({
            color: "#ffffff",
            weight: 1,
            opacity: 0.0
    });
});

setFillStyle replaces colour of pouring, opacity, and a thickness of a
contour.
All works, but not in Opera, in the given browser pouring is not
replaced, and one accumulates on another.

Example: 
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/gmaps/samples/maps/map_show_infowindow.html

Does anyone know how to fix this?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en.

Reply via email to