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:
8080 name: google_maps_flutter
8181 url: "https://pub.dartlang.org"
8282 source: hosted
83- version: "0.5.27 "
84- google_maps_flutter_platform_interface :
83+ version: "0.5.28+1 "
84+ image :
8585 dependency: transitive
8686 description:
8787 name: google_maps_flutter_platform_interface
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ class CameraPosition {
8080}
8181
8282class CameraUpdate {
83+ CameraUpdate ._(this ._json);
84+
8385 static newCameraPosition (CameraPosition cameraPosition) {
8486 if (Platform .isIOS) {
8587 return appleMaps.CameraUpdate .newCameraPosition (
@@ -137,4 +139,9 @@ class CameraUpdate {
137139 return googleMaps.CameraUpdate .zoomTo (zoom);
138140 }
139141 }
142+
143+ final dynamic _json;
144+
145+ /// Converts this object to something serializable in JSON.
146+ dynamic toJson () => _json;
140147}
Original file line number Diff line number Diff line change @@ -36,4 +36,7 @@ class MinMaxZoomPreference {
3636
3737 googleMaps.MinMaxZoomPreference get googleMapsZoomPreference =>
3838 googleMaps.MinMaxZoomPreference (this .maxZoom, this .maxZoom);
39+
40+ /// Converts this object to something serializable in JSON.
41+ dynamic toJson () => < dynamic > [minZoom, maxZoom];
3942}
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ packages:
7373 name: google_maps_flutter
7474 url: "https://pub.dartlang.org"
7575 source: hosted
76- version: "0.5.27 "
77- google_maps_flutter_platform_interface :
76+ version: "0.5.28+1 "
77+ image :
7878 dependency: transitive
7979 description:
8080 name: google_maps_flutter_platform_interface
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dependencies:
1212 flutter :
1313 sdk : flutter
1414
15- google_maps_flutter : ^0.5.21+7
15+ google_maps_flutter : ^0.5.28+1
1616
1717 apple_maps_flutter : ^0.1.1+1
1818
You can’t perform that action at this time.
0 commit comments