File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
packages/google_maps_flutter Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.5.19
2
+
3
+ * Allow BitmapDescriptor scaling override
4
+
1
5
## 0.5.18
2
6
3
7
* Fixed build issue on iOS.
Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ class BitmapDescriptor {
59
59
AssetBundle bundle,
60
60
String package,
61
61
}) async {
62
+ if (configuration.devicePixelRatio != null ) {
63
+ return BitmapDescriptor ._(< dynamic > [
64
+ 'fromAssetImage' ,
65
+ assetName,
66
+ configuration.devicePixelRatio,
67
+ ]);
68
+ }
62
69
final AssetImage assetImage =
63
70
AssetImage (assetName, package: package, bundle: bundle);
64
71
final AssetBundleImageKey assetBundleImageKey =
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: google_maps_flutter
2
2
description : A Flutter plugin for integrating Google Maps in iOS and Android applications.
3
3
author : Flutter Team <flutter-dev@googlegroups.com>
4
4
homepage : https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter
5
- version : 0.5.18
5
+ version : 0.5.19
6
6
7
7
dependencies :
8
8
flutter :
You can’t perform that action at this time.
0 commit comments