File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
packages/google_maps_flutter/google_maps_flutter_platform_interface Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1+ ## 2.7.1
2+
3+ * Undeprecates ` BitmapDescriptor.fromAssetImage ` .
4+ * Undeprecates ` BitmapDescriptor.fromBytes ` .
5+ * Fixes issues with deprecation in version 2.7.0.
6+
17## 2.7.0
28
39* Adds better support for marker size and scaling behaviour with ` AssetMapBitmap ` and ` BytesMapBitmap ` .
Original file line number Diff line number Diff line change @@ -179,8 +179,6 @@ class BitmapDescriptor {
179179 /// and scales the images to the right resolution depending on the dpi.
180180 /// Set `mipmaps` to false to load the exact dpi version of the image,
181181 /// `mipmap` is true by default.
182- @Deprecated (
183- 'Switch to using `asset` method, AssetMapBitmap or AssetMapBitmap.create instead' )
184182 static Future <BitmapDescriptor > fromAssetImage (
185183 ImageConfiguration configuration,
186184 String assetName, {
@@ -219,7 +217,6 @@ class BitmapDescriptor {
219217 /// bitmap, regardless of the actual resolution of the encoded PNG.
220218 /// This helps the browser to render High-DPI images at the correct size.
221219 /// `size` is not required (and ignored, if passed) in other platforms.
222- @Deprecated ('Switch to using `bytes` method or BytesMapBitmap instead' )
223220 static BitmapDescriptor fromBytes (Uint8List byteData, {Size ? size}) {
224221 assert (byteData.isNotEmpty,
225222 'Cannot create BitmapDescriptor with empty byteData' );
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/google_maps_f
44issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
55# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7- version : 2.7.0
7+ version : 2.7.1
88
99environment :
1010 sdk : ^3.2.0
You can’t perform that action at this time.
0 commit comments