I have a Trimble ProXT GNSS receiver that has Bluetooth and can connect to android using the Trimble GNSS Status app. The app outputs the location of the base unit and if I select the app as the mock location provider in developer options it works great in all native apps but if I try using a web app that's using the html5 geo location API it fails. My GIS data acquisition app is web based and I need this to work!
相关问题
- Keep receiving Login Required error when trying to
- Location not updating on server when app enters st
- chrome.runtime.reload blocking the extension
- How to wait for page to finish loading all content
- Mapbox 'setMyLocationEnabled' doesn't
相关文章
- Google Chrome extension: How to find out if a user
- Implementing Triangulation in android [closed]
- Google maps Android API getting wifi location
- Is it possible to retrive an existing iPhone image
- Getting user location on Facebook page tab
- Do 'Chrome Apps for Mobile' use native web
- Find all nearby customers within a given distance
- Efficient way to calculate geographic density in P
I ran into this same issue and was able to get some help from Trimble:
I'm assuming you're working on Android, as that's where we've seen this behavior as well. What you've noticed is an odd behavior characteristic of Google Chrome unfortunately. You'll find that if you use the Firefox browser (or several others) and visit the same maps.google.com, the location will display properly.
Inexplicably, the Chrome implementation of the Location API doesn't handle mock locations in all cases. We have an ongoing investigation into this on our end, but no formal resolution exists so far (aside from the non-Chrome browser workaround).
Using Trimble "GNSS status" app with an R2 and running into the same problems om both ipad+chrome and various android+chrome combinations while firefox and safari work ok.
for a simple test: