简体   繁体   English

基于Web的浏览器GPS位置

[英]Web-based browser GPS location

I am to build a website that could track the current location of the user. 我要建立一个可以跟踪用户当前位置的网站。 This is a web-base browser application that should work in both desktop and mobile. 这是一个基于Web的浏览器应用程序,可以在台式机和移动设备上运行。

I was able to see a website that uses this feature. 我能够看到一个使用此功能的网站 By clicking the "Use my current location", it will prompt the user to allow to get its current location. 通过单击“使用我的当前位置”,它将提示用户允许获取其当前位置。

获取当前位置

请检查地理位置API

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM