final with gas Stations and navigation to then
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user