- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks , I'll re-search for that
then , what about the altitude problem - it was (unavailable) on my mobile ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Being able to get altitude would depend on your device GPS and embedded browser implementation or the plugin implementation.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page