谷歌地图叠加图像不完全透明 - 我错过了什么?

时间:2013-05-03 12:25:53

标签: image google-maps-api-3 overlay transparency

这是我的代码

xxxx链接已删除

如您所见,叠加图像并非完全透明。当我在图片浏览器中打开该图像时,透明度是完全的,而不是在我的地图上渲染(洗白) 你能帮我解决一下吗?

感谢

1 个答案:

答案 0 :(得分:1)

这是一个CSS问题,应用的图像有背景颜色,为选择器定义

.post-body img, .post-body .tr-caption-container, .Profile img, .Image img, .BlogList .item-thumbnail img

您可以更改此CSS并使其更加清晰,以免影响图像,或将其添加到TQOverlay.prototype.onAdd

img.style.background='transparent';
img.style.border='none';