Skip to content

Instantly share code, notes, and snippets.

View Jignesh-Darji's full-sized avatar
😃
Working as .Net full stack developer

Jignesh Darji Jignesh-Darji

😃
Working as .Net full stack developer
View GitHub Profile
@Jignesh-Darji
Jignesh-Darji / Remove default info window in google map.txt
Created June 28, 2018 13:16
Remove default info window in google map
// Remove default info window in google map
google.maps.event.addListener(infowindow, 'domready', function() {
// Reference to the DIV that wraps the bottom of infowindow
var iwOuter = $('.gm-style-iw');
/* Since this div is in a position prior to .gm-div style-iw.
* We use jQuery and create a iwBackground variable,
* and took advantage of the existing reference .gm-style-iw for the previous div with .prev().
*/