Skip to content

Commit

Permalink
Merge pull request #54 from SEbbaDK/fix-buttonSheet
Browse files Browse the repository at this point in the history
fix buttonsheet and map layers
  • Loading branch information
SEbbaDK authored May 27, 2021
2 parents 61ab759 + 1297109 commit 87ece54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/lib/widgets/map/map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class _InteractiveMapState extends State<InteractiveMap> {
controller: poiNameController,
decoration: InputDecoration(
border: OutlineInputBorder(),
labelText: 'Name of PoI',
labelText: 'Name of POI',
),
),
DropDown(),
Expand All @@ -130,7 +130,7 @@ class _InteractiveMapState extends State<InteractiveMap> {
}),
ElevatedButton(
child:
const Text('Close BottomSheet'),
const Text('Confirm'),
onPressed: () {
taskPoints.add(PointOfInterest(
poiNameController.text,
Expand Down Expand Up @@ -288,7 +288,7 @@ class _InteractiveMapState extends State<InteractiveMap> {
),
//MarkerLayerOptions(markers: markers)
MarkerLayerOptions(
markers: [popUpMarker] + [currentPositionMarker],
markers: [currentPositionMarker] + [popUpMarker],
),
],
);
Expand Down

0 comments on commit 87ece54

Please sign in to comment.