分类文章

热门文章

GIcon 未定义

今天做了一个jsp里面加入了google地图,很奇怪的是该jsp在IE6和IE7下有GIcon 未定义的错误。

该jsp是从一个html拷贝过来的,只是加入了一些动态的数据,其它都没有改动,难道google map的GIcon对与IE6和IE7不支持吗?我觉得不太可能,于是查了些资料,原来静态页面和动态页面在引用google的js时要使用不同的参数

静态页面

1
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=abcde" type="text/javascript"></script>

动态页面

1
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;oe=gb2312&amp;key=abcde" type="text/javascript"></script>

随机文章



分享生活也赚钱,赶快加入吧

Loading…

相关文章:

  1. Gmap2 未定义

请给本文打分   
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word