After further investigation, I was able to better understand how the Google layer works.
The Google layer is inside a Google maps container. The OpenLayers map is also put inside the DIV of the Google map. The DIV of the google map has the following CSS: * /* GMaps should not set styles on its container */ .olForeignContainer { opacity: 1 !important; } * The opacity of the google layer can't be changed, because of the "!important" property. I tried to modify the default OpenLayers style, by removing the "!important" property, but setting the opacity in the Google layer, sets the opacity of the whole DIV containing the Google map, and subsequently sets the opacity of the entire OpenLayers Map (considering that it is contained in the DIV of the Google map). For now, I can't find a fix for this issue. Could someone please help me with this issue? I want to know if it is even possible to set the opacity of a Google layer in the current version (2.13). Thanks -- View this message in context: http://osgeo-org.1560.x6.nabble.com/setOpacity-does-not-work-on-google-layers-tp5215612p5216390.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users