Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ehasa-frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WIMMA Lab 2019
Overflow
ehasa-frontend
Commits
0279267e
Commit
0279267e
authored
5 years ago
by
Joni Laukka
Browse files
Options
Downloads
Patches
Plain Diff
If tracking fails, the navigator will be disabled.
parent
4c125a44
No related branches found
No related tags found
2 merge requests
!15
Get game creation to user-marker-database-interactions
,
!8
If tracking fails, the navigator will be disabled.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/UserMap.js
+4
-0
4 additions, 0 deletions
src/components/UserMap.js
with
4 additions
and
0 deletions
src/components/UserMap.js
+
4
−
0
View file @
0279267e
...
@@ -60,6 +60,10 @@ class UserMap extends Component {
...
@@ -60,6 +60,10 @@ class UserMap extends Component {
}
}
},
(
error
)
=>
{
},
(
error
)
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
// disable tracking
if
(
this
.
watchPositionId
!=
null
){
navigator
.
geolocation
.
clearWatch
(
this
.
watchPositionId
);
}
},
options
);
},
options
);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment