Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Michael Ochmann
trakr.
Commits
32c2d6ca
Commit
32c2d6ca
authored
Jul 15, 2018
by
Michael Ochmann
Browse files
increasing accuracy threshhold
parent
ac02a419
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/javascript/controllers/HeightMapViewController.js
View file @
32c2d6ca
...
...
@@ -26,7 +26,7 @@ class HeightMapViewController extends UIViewController {
navigator
.
geolocation
.
watchPosition
(
position
=>
{
this
.
currentAcc
=
position
.
coords
.
accuracy
;
if
(
!
this
.
isCapturing
||
position
.
coords
.
accuracy
>
10
)
if
(
!
this
.
isCapturing
||
position
.
coords
.
accuracy
>
10
0
)
return
;
this
.
addPoint
(
new
GeoPoint
(
position
.
coords
.
latitude
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment