From b81fa1499940defa46c9f35acfa832e65f8acf69 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 31 Dec 2022 01:56:39 +0100 Subject: [PATCH] Keep geolocation displayed, even if it isn't known anymore --- Logic/Actors/GeoLocationHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/Actors/GeoLocationHandler.ts b/Logic/Actors/GeoLocationHandler.ts index 15ad99aa3f..2354ee5c33 100644 --- a/Logic/Actors/GeoLocationHandler.ts +++ b/Logic/Actors/GeoLocationHandler.ts @@ -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: {