OpenLayers: How to style Google Maps?

Hello,

we are using the Vaadin 6 OpenLayers Wrapper Addon in combination with Google Maps. The addon works fine! We would like to use the custom style features of the Google Map V3 API (https://developers.google.com/maps/documentation/javascript/styling), but we do not know how to approach this while using the addon. How can we set custom style attributes?

Javascript Example Code from developer.google.com:

var styles = [
{
stylers: [
{ hue: “#00ffe6” },
{ saturation: -20 }
]
},{
featureType: “road”,
elementType: “geometry”,
stylers: [
{ lightness: 100 },
{ visibility: “simplified” }
]
},{
featureType: “road”,
elementType: “labels”,
stylers: [
{ visibility: “off” }
]
}
];

map.setOptions({styles: styles});

kind regards
Tobias