File tree Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Expand file tree Collapse file tree 5 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ packages:
80
80
name: google_maps_flutter
81
81
url: "https://pub.dartlang.org"
82
82
source: hosted
83
- version: "0.5.27 "
84
- google_maps_flutter_platform_interface :
83
+ version: "0.5.28+1 "
84
+ image :
85
85
dependency: transitive
86
86
description:
87
87
name: google_maps_flutter_platform_interface
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ class CameraPosition {
80
80
}
81
81
82
82
class CameraUpdate {
83
+ CameraUpdate ._(this ._json);
84
+
83
85
static newCameraPosition (CameraPosition cameraPosition) {
84
86
if (Platform .isIOS) {
85
87
return appleMaps.CameraUpdate .newCameraPosition (
@@ -137,4 +139,9 @@ class CameraUpdate {
137
139
return googleMaps.CameraUpdate .zoomTo (zoom);
138
140
}
139
141
}
142
+
143
+ final dynamic _json;
144
+
145
+ /// Converts this object to something serializable in JSON.
146
+ dynamic toJson () => _json;
140
147
}
Original file line number Diff line number Diff line change @@ -36,4 +36,7 @@ class MinMaxZoomPreference {
36
36
37
37
googleMaps.MinMaxZoomPreference get googleMapsZoomPreference =>
38
38
googleMaps.MinMaxZoomPreference (this .maxZoom, this .maxZoom);
39
+
40
+ /// Converts this object to something serializable in JSON.
41
+ dynamic toJson () => < dynamic > [minZoom, maxZoom];
39
42
}
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ packages:
73
73
name: google_maps_flutter
74
74
url: "https://pub.dartlang.org"
75
75
source: hosted
76
- version: "0.5.27 "
77
- google_maps_flutter_platform_interface :
76
+ version: "0.5.28+1 "
77
+ image :
78
78
dependency: transitive
79
79
description:
80
80
name: google_maps_flutter_platform_interface
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dependencies:
12
12
flutter :
13
13
sdk : flutter
14
14
15
- google_maps_flutter : ^0.5.21+7
15
+ google_maps_flutter : ^0.5.28+1
16
16
17
17
apple_maps_flutter : ^0.1.1+1
18
18
You can’t perform that action at this time.
0 commit comments