On Nov 10, 7:10 am, Culturalbook <[email protected]> wrote: > Hi everybody!! > I made a site that include the Google's map and I add some overlay > with JavaScript... when I see the site from Firefox 3.5, all the > overlays are displayed properly, but when I navigate the site with > IE8, it displays only one polygon and in a very strange way (the > polygon changes with the zoom)... > Here you can find an > eaxmple:http://www.culturalbook.altervista.org/mappa_foto.php > (the overlays are in Italy, Southern Europe)
It looks to me like you have the stroke and opacity reversed. IE doesn't like integers for opacity. http://code.google.com/apis/maps/documentation/reference.html#GPolygon.GPolygon GPolygon(latlngs:GLatLng[], strokeColor?:String, strokeWeight?:Number, strokeOpacity?:Number, fillColor?:Number, fillOpacity?:Number, opts?:GPolygonOptions) The weight is the width of the line in pixels. The opacities is given as a number between 0 and 1. from your page: regione_0=new google.maps.Polygon(vertici, "#0000ff", 0.8, 2, "#0000ff", 0.35); Note that strokeWight is 0.8, strokeOpacity is 2... BTW - your map div has zero size in IE6, so I can't see the map at all. -- Larry -- 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=.
