forked from MapComplete/MapComplete
Bugfix: camera with direction wouldn't show up
This commit is contained in:
parent
de305ecab9
commit
5e6f54f660
5 changed files with 13 additions and 21 deletions
|
@ -25,14 +25,10 @@ export class GeoLocationHandler extends UIElement {
|
|||
|
||||
|
||||
function onAccuratePositionProgress(e) {
|
||||
console.log(e.accuracy);
|
||||
console.log(e.latlng);
|
||||
State.state.currentGPSLocation.setData({latlng: e.latlng, accuracy: e.accuracy});
|
||||
}
|
||||
|
||||
function onAccuratePositionFound(e) {
|
||||
console.log(e.accuracy);
|
||||
console.log(e.latlng);
|
||||
State.state.currentGPSLocation.setData({latlng: e.latlng, accuracy: e.accuracy});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue