implemented comment for showing posts from other region if neccessary

This commit is contained in:
Pete Gerlach
2024-06-11 18:08:29 +02:00
parent 5bd0e35532
commit 0667d96de3

View File

@@ -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) => {