Skip to content

Commit

Permalink
fix buttonsheet and map layers
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon97 committed May 27, 2021
1 parent 6a3dee5 commit 1297109
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 1297109

Please sign in to comment.