HTML5地理定位与后备

时间:2013-01-16 10:58:07

标签: html5 geolocation

我正在尝试地理定位。

https://gist.github.com/366184

它在Chrome,FF和IE9中运行良好,但在IE 8中我得到了

SCRIPT5007: Unable to get value of the property 'watchPosition': object is null or undefined 

我该如何使用它?它只是粘贴了代码。

1 个答案:

答案 0 :(得分:1)

在IE8中似乎有不好的支持,你不是唯一一个有谷歌地理定位和IE8的问题

Here is one similar question