From 0667d96de3b4ac1cbbb70fbd865d150d6d5f036e Mon Sep 17 00:00:00 2001 From: Pete Gerlach Date: Tue, 11 Jun 2024 18:08:29 +0200 Subject: [PATCH] implemented comment for showing posts from other region if neccessary --- src/utils/location.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/location.js b/src/utils/location.js index 0a40db8..38e4089 100644 --- a/src/utils/location.js +++ b/src/utils/location.js @@ -3,7 +3,8 @@ export const locationUtils = { let location = await this.returnCurrentLocation().catch((error) => { console.error('Error getting current location', error); }); - return {lon: location.longitude, lat: location.latitude}; + return {lon: location.longitude, lat: location.latitude}; // aktuelle Koordinaten + //return {lat: 48.71180776236015, lon: 9.388372081644336}; // Koordinaten von Deizisau (Vorführung für regionale Posts) }, async returnCurrentLocation() { return new Promise((resolve, reject) => {