-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[google_maps_flutter] Custom marker size improvements - platform impls #6826
[google_maps_flutter] Custom marker size improvements - platform impls #6826
Conversation
1ae5234
to
9c0f1d0
Compare
c63d41c
to
1aa3f10
Compare
Undeprecate BitmapDescriptor.fromAssetImage and BitmapDescriptor.fromBytes * Undeprecates `BitmapDescriptor.fromAssetImage`. * Undeprecates `BitmapDescriptor.fromBytes`. * Fixes issues with deprecation in version 2.7.0. The new formats won't be supported until #6826 lands. Deprecation notices can be re-added after the implementation PRs have landed. Fixes: flutter/flutter#149183
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly this needs a review from @reidbaker since Android is the only platform that didn't have sign-off in the main PR yet, but I did a quick pass over everything as well.
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_android/example/pubspec.yaml
Outdated
Show resolved
Hide resolved
...aps_flutter/google_maps_flutter_ios/example/ios14/ios/RunnerTests/ExtractIconFromDataTests.m
Outdated
Show resolved
Hide resolved
...aps_flutter/google_maps_flutter_ios/example/ios14/ios/RunnerTests/ExtractIconFromDataTests.m
Outdated
Show resolved
Hide resolved
reason:@"Unable to interpret asset, expected a dictionary as the " | ||
@"second parameter." | ||
userInfo:nil]; | ||
@throw exception; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Long-term we'll need to rework this, as throwing exceptions violates the style guide. But for now since this is the established pattern in this method, restructuring is out of scope.)
packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Android section reviewed.
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...le_maps_flutter_android/android/src/test/java/io/flutter/plugins/googlemaps/ConvertTest.java
Outdated
Show resolved
Hide resolved
...lutter/google_maps_flutter_android/example/integration_test/resources/icon_image_base64.dart
Show resolved
Hide resolved
...tter/google_maps_flutter_ios/example/ios14/integration_test/resources/icon_image_base64.dart
Show resolved
Hide resolved
b5b5126
to
f53caaa
Compare
64941a9
to
a8542ba
Compare
@ditman @reidbaker @stuartmorgan @cbracken |
ddc5ddd
to
6226b9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
...google_maps_flutter_android/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java
Outdated
Show resolved
Hide resolved
...aps_flutter/google_maps_flutter_ios/example/ios14/ios/RunnerTests/ExtractIconFromDataTests.m
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m
Outdated
Show resolved
Hide resolved
packages/google_maps_flutter/google_maps_flutter_ios/ios/Classes/GoogleMapMarkerController.m
Outdated
Show resolved
Hide resolved
This had initial iOS and Web approval in the main PR, and I've briefly reviewed everything, so this is good to land once the final comments are addressed. Thanks! |
Thanks, final comments are now addressed. |
ece090f
to
defaebd
Compare
auto label is removed for flutter/packages/6826, due to - The status or check suite Mac_arm64 ios_platform_tests_shard_1 master has failed. Please fix the issues identified (or deflake) before re-applying this label. |
flutter/packages@11e192a...586faa6 2024-06-05 ditman@gmail.com [google_sign_in_web] Update button_tester to use web_only library. (flutter/packages#6868) 2024-06-05 engine-flutter-autoroll@skia.org Roll Flutter from c246ecd to 27e0656 (17 revisions) (flutter/packages#6875) 2024-06-05 15619084+vashworth@users.noreply.github.com [path_provider] Skip verifying sample file on macOS (flutter/packages#6874) 2024-06-05 joonas.kerttula@codemate.com [google_maps_flutter] Custom marker size improvements (flutter/packages#4055) 2024-06-05 uberchilly@gmail.com [rfw] Material slider widget (flutter/packages#6610) 2024-06-04 ditman@gmail.com [ci] Manual roll Flutter to c246ecd (84 revisions) + fixes (flutter/packages#6863) 2024-06-04 molchanovia.dev@gmail.com Correcting the typo of Flutter in projects (flutter/packages#6850) 2024-06-04 joonas.kerttula@codemate.com [google_maps_flutter] Custom marker size improvements - platform impls (flutter/packages#6826) 2024-06-04 lrn@google.com Avoid cumbersome formatter workaround (flutter/packages#6573) 2024-06-04 15619084+vashworth@users.noreply.github.com Clean Xcode project before analyzing and testing (flutter/packages#6842) 2024-06-03 37848204+RobinCombrink@users.noreply.github.com [pigeon] Kotlin/Java method overloading for the `setUp` method (flutter/packages#6843) 2024-06-03 40719830+Alex-Usmanov@users.noreply.github.com [url_launcher] Add support for setting show title on Chrome Custom Tabs (flutter/packages#6097) 2024-06-03 ditman@gmail.com Revert "Roll Flutter from c85fa6a to 7eebe29 (#6836)" (flutter/packages#6860) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
) Undeprecate BitmapDescriptor.fromAssetImage and BitmapDescriptor.fromBytes * Undeprecates `BitmapDescriptor.fromAssetImage`. * Undeprecates `BitmapDescriptor.fromBytes`. * Fixes issues with deprecation in version 2.7.0. The new formats won't be supported until flutter#6826 lands. Deprecation notices can be re-added after the implementation PRs have landed. Fixes: flutter/flutter#149183
flutter#6826) Platform implementations portion of : flutter#4055 Adds platform handling for new BitmapDescriptor classes `AssetMapBitmap` and `BytesMapBitmap` introduced in flutter#6687 Containing only changes to packages * `google_maps_flutter_android` * `google_maps_flutter_ios` * `google_maps_flutter_web` Follow up PR will hold the app-facing plugin implementations. Linked issue: flutter/flutter#34657
Platform implementations portion of : #4055
Adds platform handling for new BitmapDescriptor classes
AssetMapBitmap
andBytesMapBitmap
introduced in #6687Containing only changes to packages
google_maps_flutter_android
google_maps_flutter_ios
google_maps_flutter_web
Follow up PR will hold the app-facing plugin implementations.
Linked issue: flutter/flutter#34657
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.