Recently I stumbled upon this interesting article showing potential of adding custom styles to Google Maps. Some examples of styled maps can be seen here and you can design your own from scratch here.
I'd like to apply 'greyscale' theme to my OpenLayers base map:
Style description according to Google demo would look somehow like:
var styles = {
'Greyscale': [
{
featureType: 'all',
rules: [
{saturation: -100},
{gamma: 0.50}
]
}
]
}
My Google map in OpenLayers currently looks simply like:
var gmap = new OpenLayers.Layer.Google("Google Streets",
{
'numZoomLevels': 20,
'sphericalMercator': true}
);
How could I apply greyscale theme to my map?