navigator.geolocation getCurrentPosition not updating in Chrome Mobile

前端 未结 3 2203
粉色の甜心
粉色の甜心 2020-12-15 01:07

I have created a site (can be accessed at http://dev.gkr33.com) which is designed for a smartphone and attempts to use the navigator.geolocation api and grab your position v

3条回答
  •  春和景丽
    2020-12-15 01:26

    getCurrentLocation() no longer works on insecure origins in Chrome browsers. Switch to a secure original (HTTPS) to enable.

提交回复
热议问题