How does a browser get GPS data from a computer?

后端 未结 2 1856
孤街浪徒
孤街浪徒 2021-01-12 20:09

HTML5 browser can retrive the gps position of a computer. http://diveintohtml5.ep.io/geolocation.html

I would like to create an application that fakes a GPS device,

2条回答
  •  礼貌的吻别
    2021-01-12 20:40

    Chrome and Firefox:

    • GPS via gpsd if available (Linux only) 1, 2
    • system's Location API (Windows 7 only) 2
    • WiFi networks via Google Location Services 1

提交回复
热议问题