> http://e-response.com.my/maps/viewGeoFenceMap.php?geoFenceID=121
Here you create a polygon using new GPolygon(lineArray, "#446891", 3, 1) Docs https://developers.google.com/maps/documentation/javascript/v2/reference#GPolygon You haven't specified the fill at all, so you get default fill colour and opacity. > http://e-response.com.my/maps/viewGeoFenceMap.php?geoFenceID=456 Here you create a polygon using new GPolygon( ... , "#446891", 2,1/10, "#446891", 1/10) which specifies the fill colour, but has different opacities. You're getting just what you ask for. I think there is an error in the docs suggesting fillColor should be a number, you are right to have it as a string. But you need to specify it in your code if you want to choose the colour! -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
