Closed
Bug 1088128
Opened 10 years ago
Closed 10 years ago
Add support for getCurrentPosition in Geoloc dev app
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: huseby, Assigned: huseby)
Details
Attachments
(1 file)
Currently, the Geoloc dev app only knows how to use the watchPosition functionality of the geolocation API. As part of the adjustable location accuracy project, I needed a way to also test the getCurrentPosition part of the API. This patch adds a new button for calling getCurrentPosition to fire off a single shot GPS position query.
Assignee | ||
Comment 1•10 years ago
|
||
I'm not sure who should review this. I didn't want to bug Vivien, so you get it Jan :)
Attachment #8510408 -
Flags: review?(janx)
Comment 2•10 years ago
|
||
Comment on attachment 8510408 [details] [review] github pull request for geoloc dev app change. (forwarding to original author)
Attachment #8510408 -
Flags: review?(janx) → review?(lissyx+mozillians)
Assignee | ||
Comment 3•10 years ago
|
||
I updated the patch. It no longer includes changes to the other locales. Blame google translate :) And thanks for moving the review.
Comment 4•10 years ago
|
||
I'm glad to see that this app is proven to be useful :)
Comment 5•10 years ago
|
||
Comment on attachment 8510408 [details] [review] github pull request for geoloc dev app change. See comments on Github: I'm fine with the change, but please factorize a bit between startGeoloc and getGeoloc. I know my code is not perfect, but I feel it's easy to avoid worse here.
Attachment #8510408 -
Flags: review?(lissyx+mozillians) → review+
Assignee | ||
Comment 6•10 years ago
|
||
I updated the patch to include the feedback.
Flags: needinfo?(lissyx+mozillians)
Comment 7•10 years ago
|
||
Looks good to me, thanks, that was one of my early contribution to B2G :) !
Flags: needinfo?(lissyx+mozillians)
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•