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!!!

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>