File tree 5 files changed +72
-2
lines changed 5 files changed +72
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.0.2
2
+
3
+ * Updates apple_maps_flutter to apply memory leak fix
4
+ * makes it possible to take snapshots of the map
5
+
1
6
## 1.0.1
2
7
3
8
* Adds ` newLatLngBounds ` to PlatformMapController
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <projectDescription >
3
+ <name >android</name >
4
+ <comment >Project android created by Buildship.</comment >
5
+ <projects >
6
+ </projects >
7
+ <buildSpec >
8
+ <buildCommand >
9
+ <name >org.eclipse.buildship.core.gradleprojectbuilder</name >
10
+ <arguments >
11
+ </arguments >
12
+ </buildCommand >
13
+ </buildSpec >
14
+ <natures >
15
+ <nature >org.eclipse.buildship.core.gradleprojectnature</nature >
16
+ </natures >
17
+ <filteredResources >
18
+ <filter >
19
+ <id >1602529678411</id >
20
+ <name ></name >
21
+ <type >30</type >
22
+ <matcher >
23
+ <id >org.eclipse.core.resources.regexFilterMatcher</id >
24
+ <arguments >node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments >
25
+ </matcher >
26
+ </filter >
27
+ </filteredResources >
28
+ </projectDescription >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <projectDescription >
3
+ <name >app</name >
4
+ <comment >Project app created by Buildship.</comment >
5
+ <projects >
6
+ </projects >
7
+ <buildSpec >
8
+ <buildCommand >
9
+ <name >org.eclipse.buildship.core.gradleprojectbuilder</name >
10
+ <arguments >
11
+ </arguments >
12
+ </buildCommand >
13
+ </buildSpec >
14
+ <natures >
15
+ <nature >org.eclipse.buildship.core.gradleprojectnature</nature >
16
+ </natures >
17
+ <filteredResources >
18
+ <filter >
19
+ <id >1602529678416</id >
20
+ <name ></name >
21
+ <type >30</type >
22
+ <matcher >
23
+ <id >org.eclipse.core.resources.regexFilterMatcher</id >
24
+ <arguments >node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments >
25
+ </matcher >
26
+ </filter >
27
+ </filteredResources >
28
+ </projectDescription >
Original file line number Diff line number Diff line change @@ -109,4 +109,13 @@ class PlatformMapController {
109
109
}
110
110
return _bounds;
111
111
}
112
+
113
+ /// Returns the image bytes of the map
114
+ Future <Uint8List ?> takeSnapshot () async {
115
+ if (Platform .isIOS) {
116
+ return this .appleController! .takeSnapshot ();
117
+ } else if (Platform .isAndroid) {
118
+ return this .googleController! .takeSnapshot ();
119
+ }
120
+ }
112
121
}
Original file line number Diff line number Diff line change 1
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
- version : 1.0.1
3
+ version : 1.0.2
4
4
homepage : https://github.com/LuisThein
5
5
repository : https://github.com/LuisThein/platform_maps_flutter
6
6
issue_tracker : https://github.com/LuisThein/platform_maps_flutter/issues
@@ -14,7 +14,7 @@ dependencies:
14
14
15
15
google_maps_flutter : ^2.0.1
16
16
google_maps_flutter_platform_interface : ^2.0.3
17
- apple_maps_flutter : ^1.0.0
17
+ apple_maps_flutter : ^1.0.1
18
18
19
19
dev_dependencies :
20
20
flutter_test :
You can’t perform that action at this time.
0 commit comments