Disable CSS Styles in Google Maps (3.14) Infowindow

前端 未结 11 1049
再見小時候
再見小時候 2021-02-05 02:39

In google maps version 3.14 there are some new css rules added for the custom infowindow. I use the infobox plugin and now many of my elements styles are overwritten.

Fo

11条回答
  •  情话喂你
    2021-02-05 02:58

    In response to dorr Baums solution, for those using prototype js you can use the following to remove this class.

    google.maps.event.addListener(map, 'idle', function() {
            $$('.gm-style').invoke('removeClassName', 'gm-style');
    });
    

提交回复
热议问题