Skip to content

Commit 40268e7

Browse files
authored
[google_maps_flutter_platform_interface] Add improvements to BitmapDescriptor API (#6687)
This PR adds improvements to BitmapDescriptor API for google_maps_flutter_platform_interface * Adds better support for marker size and scaling behaviour with `AssetMapBitmap` and `BytesMapBitmap`. * Deprecates `BitmapDescriptor.fromAssetImage` in favor of `BitmapDescriptor.asset` and `AssetMapBitmap.create`. * Deprecates `BitmapDescriptor.fromBytes` in favor of `BitmapDescriptor.bytes` and `BytesMapBitmap` This is prequel PR for: #4055 Containing only changes to `google_maps_flutter_platform_interface` package. Follow up PR:s will hold the platform and app-facing plugin implementations. Linked issue: flutter/flutter#34657
1 parent 7b423f5 commit 40268e7

File tree

5 files changed

+1050
-5
lines changed

5 files changed

+1050
-5
lines changed

packages/google_maps_flutter/google_maps_flutter_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
## NEXT
1+
## 2.7.0
22

3+
* Adds better support for marker size and scaling behaviour with `AssetMapBitmap` and `BytesMapBitmap`.
4+
* Deprecates `BitmapDescriptor.fromAssetImage` in favor of `BitmapDescriptor.asset` and `AssetMapBitmap.create`.
5+
* Deprecates `BitmapDescriptor.fromBytes` in favor of `BitmapDescriptor.bytes` and `BytesMapBitmap`
36
* Updates minimum supported SDK version to Flutter 3.16/Dart 3.2.
47

58
## 2.6.0

0 commit comments

Comments
 (0)