Skip to content
Snippets Groups Projects

If tracking fails, the navigator will be disabled.

Merged H9031 requested to merge 28-lopeta-seuranta-jos-paikkatieto-on-estetty into development
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -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);
}
}
}
}
Loading