From 08c4fdfb4fcb0fa946288525e5fc71bb4a480ae6 Mon Sep 17 00:00:00 2001 From: vkprogrammer-001 Date: Mon, 26 Feb 2024 22:51:46 +0530 Subject: [PATCH 1/2] Repositioned Google Map Compass in Beacon Project --- lib/views/hike_screen.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/views/hike_screen.dart b/lib/views/hike_screen.dart index 24bef382..deddc1d5 100644 --- a/lib/views/hike_screen.dart +++ b/lib/views/hike_screen.dart @@ -143,6 +143,7 @@ class _HikeScreenState extends State { // child: Text('hello'), child: GoogleMap( compassEnabled: true, + padding: EdgeInsets.fromLTRB(320.0,520.0,0.0,0.0), mapType: MapType.terrain, polylines: model.polylines, initialCameraPosition: CameraPosition( From 8a5913ca7cce3b614d59f75cc341cf18adffcf0f Mon Sep 17 00:00:00 2001 From: vkprogrammer-001 Date: Mon, 26 Feb 2024 23:07:48 +0530 Subject: [PATCH 2/2] reposition_compass --- lib/views/hike_screen.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/views/hike_screen.dart b/lib/views/hike_screen.dart index deddc1d5..9c4c2dde 100644 --- a/lib/views/hike_screen.dart +++ b/lib/views/hike_screen.dart @@ -143,7 +143,8 @@ class _HikeScreenState extends State { // child: Text('hello'), child: GoogleMap( compassEnabled: true, - padding: EdgeInsets.fromLTRB(320.0,520.0,0.0,0.0), + padding: + EdgeInsets.fromLTRB(320.0, 520.0, 0.0, 0.0), mapType: MapType.terrain, polylines: model.polylines, initialCameraPosition: CameraPosition(