From 12971092f00587c5b51767bdeb7fa23e4a355295 Mon Sep 17 00:00:00 2001 From: Simon Svendsgaard Nielsen Date: Thu, 27 May 2021 04:38:28 +0200 Subject: [PATCH] fix buttonsheet and map layers --- client/lib/widgets/map/map.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/lib/widgets/map/map.dart b/client/lib/widgets/map/map.dart index cb6b69e..3528290 100644 --- a/client/lib/widgets/map/map.dart +++ b/client/lib/widgets/map/map.dart @@ -117,7 +117,7 @@ class _InteractiveMapState extends State { controller: poiNameController, decoration: InputDecoration( border: OutlineInputBorder(), - labelText: 'Name of PoI', + labelText: 'Name of POI', ), ), DropDown(), @@ -130,7 +130,7 @@ class _InteractiveMapState extends State { }), ElevatedButton( child: - const Text('Close BottomSheet'), + const Text('Confirm'), onPressed: () { taskPoints.add(PointOfInterest( poiNameController.text, @@ -288,7 +288,7 @@ class _InteractiveMapState extends State { ), //MarkerLayerOptions(markers: markers) MarkerLayerOptions( - markers: [popUpMarker] + [currentPositionMarker], + markers: [currentPositionMarker] + [popUpMarker], ), ], );