Commit 40268e7
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#346571 parent 7b423f5 commit 40268e7
File tree
5 files changed
+1050
-5
lines changed- packages/google_maps_flutter/google_maps_flutter_platform_interface
- lib/src/types
- test/types
5 files changed
+1050
-5
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
0 commit comments