I have used a google map in iframe.
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.in/maps?f=q&source=s_q&hl=en&geocode=&q=Madurai,+Tamil+Nadu&aq=0&oq=madursi&sll=10.782836,78.288503&sspn=5.674603,10.755615&ie=UTF8&hq=&hnear=Madurai,+Tamil+Nadu&t=m&z=12&ll=9.925201,78.119775&output=embed"></iframe><br /><small><a href="https://maps.google.co.in/maps?f=q&source=embed&hl=en&geocode=&q=Madurai,+Tamil+Nadu&aq=0&oq=madursi&sll=10.782836,78.288503&sspn=5.674603,10.755615&ie=UTF8&hq=&hnear=Madurai,+Tamil+Nadu&t=m&z=12&ll=9.925201,78.119775" style="color:#0000FF;text-align:left">View Larger Map</a></small>
How to display a google map in black and white color?
This one is achieved by using some css
Here is working code
.map {
filter: grayscale(100%);
}
<iframe class="map" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d4917.1193047590605!2d4.4690507720313!3d51.96022102967837!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47c5cb67ae23c02d%3A0xdac4c06bc7904d2!2sRododendronplein+10%2C+3053+ES+Rotterdam%2C+Nederland!5e0!3m2!1snl!2ses!4v1541007683407" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
Try to use
<iframe class="map" width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps(...)"></iframe>
.map {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
}
This will help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With