W3C 地理定位 API 在 Safari 5 上不起作用 [英] W3C geolocation API not working on Safari 5
本文介绍了W3C 地理定位 API 在 Safari 5 上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
W3C 地理定位 API 似乎在 safari 5 中不起作用.我试过这个页面,它告诉我地理定位不成功.
W3C geolocation API doesn't seem to work in safari 5. I tried this page and it sort of tells me that Geolocation is unsuccessful.
代码:http://code.google.com/apis/maps/documentation/javascript/examples/map-geolocation.html
谁能解释一下为什么会这样?
can somebody explain me why this is so?
推荐答案
看起来 Safari 中的地理定位仅在您连接到 wifi(非有线)时才有效:Safari 5 中的地理位置
Looks like geolocation in safari only works when you're connected to wifi (not wired): Geolocation in Safari 5
这篇关于W3C 地理定位 API 在 Safari 5 上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文