- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello
Is there anyway to get (latitude/longitude/altitude) position using GPS only (offline) ?
I don't need to use google maps - just GPS info !!
I used this (with ionic) and a simple app with this plugin
both required the internet connection to get the GPS info
is Intel XDK has a solution for this issue ?
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
The Geolocation plugin description says that:
"Common sources of location information include Global Positioning System (GPS) and location inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses, and GSM/CDMA cell IDs."
and
"This API is based on the W3C Geolocation API Specification, and only executes on devices that don't already provide an implementation."
So they might be relying on the browser implementation that first tries to get the location using methods that require internet access. See if setting 'enableHighAccuracy' option to true might force it to use actual gps info first. If this doesn't work, you might have to search for another plugin that directly provides the gps info or write your own. It's also a good idea to test on different devices.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Being able to get altitude would depend on your device GPS and embedded browser implementation or the plugin implementation.
