错误 GMap2未定义 解决办法
使用google mapAPI地图的时候总是在IE6中出现错误 GMap2未定义 还会提示缺少”}”。 如果是非utf-8字符集那么
解决办法为将
<script src="http://ditu.google.cn/maps?file=api&amp;v=2" type="text/javascript">
</script>
改为
<script src="http://ditu.google.cn/maps?file=api&oe=gb2312&amp;v=2"
type="text/javascript"></script>
但是google自己的地图相对于IE都有
<html xmlns=”http://www.w3.org/1999/xhtml” xmlns:v=”urn:schemas-microsoft-com:vml”>
这么一条.