Bug after new release : Polygon fill opacity not applied on Firefox/Chrome

326 views
Skip to first unread message

Drahuks

unread,
Apr 29, 2011, 5:02:17 AM4/29/11
to Google Maps JavaScript API v3
Hello,

I just noticed that, since the last release, the polygons doesn't
display correctly in my application :

Under Firefox (4.0) and Chrome (10.0.648.204) all polygons are
displayed with opacity=1. They are rendered correctly under IE8

If I go back to version 3.3, everything works well on all browsers

Chris Broadfoot

unread,
Apr 29, 2011, 12:35:19 PM4/29/11
to google-map...@googlegroups.com
Can you provide a link to your map?

Are you setting the color as per documentation? Hex string: "#FFFFFF"


--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.




--
http://twitter.com/broady

chrismorse

unread,
Apr 29, 2011, 4:34:53 PM4/29/11
to Google Maps JavaScript API v3
I had the same problem. Changed my fillColor from #ddd to #dddddd
and it fixed it right up.

Drahuks

unread,
May 2, 2011, 5:59:14 AM5/2/11
to Google Maps JavaScript API v3
Hello,

The fillColor format is ok but your answers lead me to check other
parameters. And it appears the fillOpacity was causing trouble,
because passed as a string (extracted from JSON data). I now use
parseFloat() and everything works well!

Thank you both for your help

Stephane
Reply all
Reply to author
Forward
0 new messages