Skip to content

Commit aa5a3b1

Browse files
committed
Added Changes for initial release
1 parent 17f16d4 commit aa5a3b1

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,24 +64,25 @@ class HomePage extends StatelessWidget {
6464
),
6565
],
6666
),
67-
mapType: MapType.satallite,
67+
mapType: MapType.satellite,
6868
myLocationEnabled: true,
6969
myLocationButtonEnabled: true,
7070
onTap: (location) => print('onTap: $location'),
7171
onCameraMove: (location) => print('cameraMove: $location'),
7272
compassEnabled: true,
7373
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+
),
8284
),
83-
),
84-
);
85+
);
8586
},
8687
);
8788
},

pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: flutter_platform_maps
1+
name: platform_maps_flutter
22
description: A Flutter package that combines google_maps and apple_maps to provide a crossplatform native map implementation.
33
version: 0.1.0
4-
author: Luis Thein
4+
author: Luis Thein <luis.thein@gmx.de>
55
homepage: https://github.com/LuisThein
66

77
environment:
@@ -11,9 +11,9 @@ dependencies:
1111
flutter:
1212
sdk: flutter
1313

14-
google_maps_flutter: 0.5.21+7
14+
google_maps_flutter: ^0.5.21+7
1515

16-
apple_maps_flutter: 0.0.2
16+
apple_maps_flutter: ^0.0.2
1717

1818
dev_dependencies:
1919
flutter_test:

0 commit comments

Comments
 (0)