javascript geolocation on android doesn't work

前端 未结 4 873
春和景丽
春和景丽 2020-12-16 20:19

I am developing a website that relies on pulling the geolocation data of a mobile user. I am doing it the typical way via:

function initialize() {
   if(wind         


        
4条回答
  •  猫巷女王i
    2020-12-16 21:16

    This wasn't working on my Android 2.4, the problem was solved by enabling Wireless Networks Location besides GPS (wasn't working with just GPS)

    Settings -> Location & Privacy -> Enable Wireless Networks.

提交回复
热议问题