How to grayout google map

Hello,

Recently, one of my client need gray Google map. So, i have done it simple way which i want to share with you.

To add Google map and gray it out add following code.



In html add following code

Here, oceanStyle is for gray style and then add oceanMapType. In Options mapTypeIds add grayscale then set mapTypes in map.

All done. Now you will see your map in grayscale. enjoy!!!