本文介紹了瀏覽器如何從計(jì)算機(jī)獲取 GPS 數(shù)據(jù)?的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!
問(wèn)題描述
HTML5 瀏覽器可以檢索計(jì)算機(jī)的 gps 位置.http://diveintohtml5.ep.io/geolocation.html
HTML5 browser can retrive the gps position of a computer. http://diveintohtml5.ep.io/geolocation.html
我想創(chuàng)建一個(gè)偽造 GPS 設(shè)備的應(yīng)用程序,但我無(wú)法從任何地方讀取瀏覽器如何從計(jì)算機(jī)獲取 GPS 數(shù)據(jù).
I would like to create an application that fakes a GPS device, but I couldn't read anywhere how the browser gets GPS data from the computer.
推薦答案
Chrome 和 Firefox:
Chrome and Firefox:
- GPS 通過(guò) gpsd 如果可用(僅限 Linux)1, 2
- 系統(tǒng)的位置 API(僅限 Windows 7)2
- 通過(guò) Google 定位服務(wù)提供的 WiFi 網(wǎng)絡(luò)1
- GPS via gpsd if available (Linux only) 1, 2
- system's Location API (Windows 7 only) 2
- WiFi networks via Google Location Services 1
這篇關(guān)于瀏覽器如何從計(jì)算機(jī)獲取 GPS 數(shù)據(jù)?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!