forked from MapComplete/MapComplete
Only jump to the start location if no coordinates are given in the URL
This commit is contained in:
parent
90f69bdd93
commit
a3f704a57d
2 changed files with 8 additions and 1 deletions
|
@ -91,6 +91,7 @@ export class GeolocationControl extends VariableUiElement {
|
|||
geolocationState.currentGPSLocation.data === undefined
|
||||
) {
|
||||
lastClick.setData(new Date())
|
||||
geolocationState.requestMoment.setData(new Date())
|
||||
await geolocationState.requestPermission()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue