http是否不支持h5 Geolocatio 财富值6

2016-10-16 02:29发布

用本机ip访问无法获取坐标,用localhost访问倒是可以,有人遇到过吗

换成https也可以,但是就是http的不行

报错:
getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.

付费偷看设置
发送
1条回答
Battle field - 这个人很懒,什么都没留下
1楼 · 2016-10-16 03:08.采纳回答

这个api本地是不能用的。

一周热门 更多>