File tree 6 files changed +23
-17
lines changed
6 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 4
4
# This file should be version controlled.
5
5
6
6
version:
7
- revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
8
- channel: beta
7
+ revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
8
+ channel: stable
9
9
10
10
project_type: app
11
11
12
12
# Tracks metadata for the flutter migrate command
13
13
migration:
14
14
platforms:
15
15
- platform: root
16
- create_revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
17
- base_revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
18
- - platform: android
19
- create_revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
20
- base_revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
21
- - platform: ios
22
- create_revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
23
- base_revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
16
+ create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
17
+ base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
24
18
- platform: web
25
- create_revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
26
- base_revision: 0df8557c56a182d31fa024eeb08c428ae52edf7f
19
+ create_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
20
+ base_revision: f468f3366c26a5092eb964a230ce7892fda8f2f8
27
21
28
22
# User provided section
29
23
Original file line number Diff line number Diff line change
1
+ # Google Maps Demo
2
+
3
+ This sample Flutter app showcases the [ Google Maps for Flutter plugin] ( https://developers.google.com/maps/flutter-plugin/overview ) .
4
+
5
+ ## Getting Started
6
+
7
+ 1 . See the overview at https://developers.google.com/maps/flutter-plugin/overview .
8
+ 1 . Follow the setup guide at https://developers.google.com/maps/flutter-plugin/config to learn where to insert your API keys. This demo will not run without API keys added.
9
+ 1 . Use the sample code in this folder for the tutorial at https://developers.google.com/maps/flutter-plugin/map-with-marker.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ android {
47
47
applicationId " com.example.google_maps_in_flutter"
48
48
// You can update the following values to match your application needs.
49
49
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
50
- minSdkVersion 20
50
+ minSdkVersion 21
51
51
targetSdkVersion flutter. targetSdkVersion
52
52
versionCode flutterVersionCode. toInteger()
53
53
versionName flutterVersionName
Original file line number Diff line number Diff line change 1
- # Google Maps SDK requires platform version 13
2
- platform :ios , '13 .0'
1
+ # Google Maps SDK requires platform version 14
2
+ platform :ios , '14 .0'
3
3
4
4
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5
5
ENV [ 'COCOAPODS_DISABLE_STATS' ] = 'true'
Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ class _MyAppState extends State<MyApp> {
56
56
const Marker (
57
57
markerId: MarkerId ('Sydney' ),
58
58
position: LatLng (- 33.86 , 151.20 ),
59
+ infoWindow: InfoWindow (
60
+ title: "Sydney" ,
61
+ snippet: "Capital of New South Wales" ,
62
+ ),
59
63
)
60
64
},
61
65
),
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ dependencies:
10
10
flutter :
11
11
sdk : flutter
12
12
cupertino_icons : ^1.0.2
13
- google_maps_flutter : ^2.2.1
14
- google_maps_flutter_web : ^0.5.0
13
+ google_maps_flutter : ^2.4.0
15
14
http : ^1.0.0
16
15
json_annotation : ^4.7.0
17
16
json_serializable : ^6.5.4
You can’t perform that action at this time.
0 commit comments