gpt4 book ai didi

javascript - Google Maps API 未正确加载界面元素

转载 作者:行者123 更新时间:2023-11-28 09:31:22 25 4
gpt4 key购买 nike

我在 http://damirsepictrip.com/test-mobile-post/ 上有一个网站

我正在使用 Google Maps API 创建自定义 map ,但街景 View 图标未正确显示。它只是一个垂直条,但它需要是一个人的图标。

此外,如果您将图标放置在 map 上以使用街景 View ,您会发现当您旋转时,街景 View 图像的某些部分会丢失,并且关闭按钮图标也不会显示。任何帮助将不胜感激。

最佳答案

删除这个:

img {
max-width: 100% !important;
}

来自 http://damirsepictrip.com/wp-content/themes/starkers/css/base.css

..或尝试与 map 内的图像不匹配的其他选择器。

img {
max-width: 100% !important;
}

/*override(reset) the setting for images inside the map*/
#location-map img{
max-width:none !important;
}

关于javascript - Google Maps API 未正确加载界面元素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25695584/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com