How do I use the Google Maps API GPS sensor?

前端 未结 1 438
旧巷少年郎
旧巷少年郎 2020-12-31 00:54

All I\'ve been able to find is how to specify the sensor parameter:

http://code.google.com/apis/maps/documentation/v3/#SpecifyingSensor

But nowhere does it s

相关标签:
1条回答
  • 2020-12-31 01:29

    That sensor parameter is only there to indicate to Google that you are using a GPS sensor to determine the user's location.

    Unless using the W3C Geolocation API in browsers that support it, it remains your responsibility to get the latitude and longitude from your GPS device to the user's browser.

    0 讨论(0)
提交回复
热议问题