Closed
Bug 869822
Opened 13 years ago
Closed 13 years ago
[GPS] Question about the geolocation API - watchPosition option "enableHighAccuracy"
Categories
(Core :: DOM: Geolocation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: leo.bugzilla.gecko, Unassigned)
Details
I have a question about the geolocation API - watchPosition.
-> watchPosition(showLocaiton, ErrorHandler, options)
What's the difference between 'enableHighAccuracy:true' and 'enableHighAccuracy:false' in the value about 'options' of watchPosition()?
If position is reported by Network based (wifi/cell-based) service when enableHighAccuracy is set to false, Can the App use the position ?
Or should enableHighAccuracy be set to 'false' in order that use the position to be reported by Network based positioning ?
Updated•13 years ago
|
Component: General → Geolocation
Product: Boot2Gecko → Core
Version: unspecified → Trunk
Comment 1•13 years ago
|
||
enableHighAccuracy is a parameter that can be taken into consideration by whatever geolocation provider ends up servicing the request. There is no way to tell whether using the parameter caused a more accurate position to be returned or not.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Comment 2•13 years ago
|
||
In future, mailing lists such as mozilla.dev.platform (https://www.mozilla.org/about/forums/#dev-platform) would be a better place to use for questions like this.
You need to log in
before you can comment on or make changes to this bug.
Description
•