[英]Grey grid showing up on google maps
So, I implemented google maps to our website but for some reasons since yesterday a grid appeared on the map when I browse the website with chrome but not with firefox.因此,我在我们的网站上实施了谷歌地图,但由于某些原因,从昨天起,当我使用 chrome 而不是 Firefox 浏览网站时,地图上出现了一个网格。
And If someone else browse the website with chrome the grid isn't displayed.如果其他人使用 chrome 浏览网站,则不会显示网格。
I'm having a hard time finding out why I see this grid我很难弄清楚为什么我会看到这个网格
Here is a picture of the map这是地图的图片
It surely is a bug in webkit browsers not only Chrome. 当然,这不仅是Chrome,还是Webkit浏览器中的错误。 I managed to fix this by adding this css:
我设法通过添加以下CSS来解决此问题:
.gm-style div {
-webkit-transform: scale(1.002);
}
You can use this code in your css and it will solve the problem: 您可以在CSS中使用此代码,它将解决问题:
#google_map *, #google_map *:before, #google_map *:after {
-webkit-transform: none !important;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.