Disable CSS Styles in Google Maps (3.14) Infowindow

前端 未结 11 1021
再見小時候
再見小時候 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 03:01

    I fixed this on my map by doing the following. Hope it helps

    1. Create my own div inside the infowindow and set your own css.

    infowindow content

    1. Set the link to the css file BEFORE! the google api in the page head.

    2. Hold Ctrl & click refresh on your browser to force full refresh to load any css changes. I was using Firefox.

提交回复
热议问题