final with gas Stations and navigation to then

This commit is contained in:
atseirjo
2025-08-26 13:38:13 +02:00
parent 12b385d7e0
commit ad3276c898
10 changed files with 663 additions and 11 deletions

View File

@@ -73,6 +73,9 @@ class TankController extends GetxController {
// Hier kannst du die Logik hinzufügen, um den Standort zu verwenden, z.B.
// den Standort in der UI anzuzeigen oder an einen Server zu senden.
var map = {'lat': latitude, 'lng': longitude};
//save to local Storage lat and long
_dataBox.write('lastLatitude', latitude);
_dataBox.write('lastLongitude', longitude);
var loc = await _locationRepository.getNearbyLocation(map);
ortController.text = loc;
// Print Standortinformationen in der Konsole