IE6:不加载Google Maps API v3 [英] IE6: Doesn't load Google Maps API v3
本文介绍了IE6:不加载Google Maps API v3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用新的Google地图 API v3 。
它适用于Firefox / Chromo / Safari,但在IE6中无法加载地图。
任何想法为什么页面加载我的地图在所有浏览器除IE6?
$ b
var marker = new google.maps.Marker({
position:point,
map:map,
icon :image,
}); b
code> var marker = new google.maps.Marker({
position:point,
map:map,
icon:image
});
(第509行)
I'm using the new Google Maps API v3.
It works great with Firefox/Chromo/Safari but the map doesn't load in IE6.
Any ideas why the page loads my map in all browsers except IE6?
解决方案
Just replace this code
var marker = new google.maps.Marker({
position: point,
map: map,
icon: image,
});
to this
var marker = new google.maps.Marker({
position: point,
map: map,
icon: image
});
(line 509)
这篇关于IE6:不加载Google Maps API v3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文