File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -64,24 +64,25 @@ class HomePage extends StatelessWidget {
64
64
),
65
65
],
66
66
),
67
- mapType: MapType.satallite ,
67
+ mapType: MapType.satellite ,
68
68
myLocationEnabled: true,
69
69
myLocationButtonEnabled: true,
70
70
onTap: (location) => print('onTap: $location'),
71
71
onCameraMove: (location) => print('cameraMove: $location'),
72
72
compassEnabled: true,
73
73
onMapCreated: (controller) {
74
- Future.delayed(Duration(seconds: 2)).then((_) {
75
- controller.animateCamera(
76
- CameraUpdate.newCameraPosition(
77
- const CameraPosition(
78
- bearing: 270.0,
79
- target: LatLng(51.5160895, -0.1294527),
80
- tilt: 30.0,
81
- zoom: 18,
74
+ Future.delayed(Duration(seconds: 2)).then(
75
+ (_) {
76
+ controller.animateCamera(
77
+ CameraUpdate.newCameraPosition(
78
+ const CameraPosition(
79
+ bearing: 270.0,
80
+ target: LatLng(51.5160895, -0.1294527),
81
+ tilt: 30.0,
82
+ zoom: 18,
83
+ ),
82
84
),
83
- ),
84
- );
85
+ );
85
86
},
86
87
);
87
88
},
Original file line number Diff line number Diff line change 1
- name : flutter_platform_maps
1
+ name : platform_maps_flutter
2
2
description : A Flutter package that combines google_maps and apple_maps to provide a crossplatform native map implementation.
3
3
version : 0.1.0
4
- author : Luis Thein
4
+ author : Luis Thein <luis.thein@gmx.de>
5
5
homepage : https://github.com/LuisThein
6
6
7
7
environment :
@@ -11,9 +11,9 @@ dependencies:
11
11
flutter :
12
12
sdk : flutter
13
13
14
- google_maps_flutter : 0.5.21+7
14
+ google_maps_flutter : ^ 0.5.21+7
15
15
16
- apple_maps_flutter : 0.0.2
16
+ apple_maps_flutter : ^ 0.0.2
17
17
18
18
dev_dependencies :
19
19
flutter_test :
You can’t perform that action at this time.
0 commit comments