forked from MapComplete/MapComplete
Keep geolocation displayed, even if it isn't known anymore
This commit is contained in:
parent
8511794ef3
commit
b81fa14999
1 changed files with 1 additions and 1 deletions
|
@ -120,9 +120,9 @@ export default class GeoLocationHandler {
|
|||
const state = this._state
|
||||
this.geolocationState.currentGPSLocation.addCallbackAndRun((location) => {
|
||||
if (location === undefined) {
|
||||
state.currentUserLocation?.features?.setData([])
|
||||
return
|
||||
}
|
||||
console.log("GeoLocationCoordinates are", location)
|
||||
const feature = {
|
||||
type: "Feature",
|
||||
properties: <GeoLocationPointProperties>{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue