On 7 апр, 17:19, Andrew Leach <[email protected]> wrote:
> However, a workaround might be possible for unsupported browsers:
> maintain two arrays of blue and pink polygons and on mouseover remove
> (or hide) the relevant blue one and add (or show) the relevant pink
> one. Change them back on mouseout.
Unfortunately in the Opera it too does not work:
..........
var polygon = new GPolygon(theArray, "#ffffff" , 1, 1, "#ffff00", 0);
polygonGroups["first"].push(polygon);
..........
function toggleGroupPolygon(type) {
for (var i = 0; i < polygonGroups[type].length; i++) {
var polygon = polygonGroups[type][i];
if (polygon.isHidden()) {
polygon.show();
} else {
polygon.hide();
}
}
}
--
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.