Uh oh!
There was an error while loading. Please reload this page.
[google_maps_flutter] Fix styles on web - #11629
Conversation
Fixes a regression from flutter#7882 that caused non-cloud map styling not be applied on web, since the app-facing package changed to sending '' rather than null when a cloud mapId wasn't provided, and the web implementation didn't handle that case. Fixesflutter/flutter#185171
There was a problem hiding this comment.
Code Review
This pull request fixes a bug in the Google Maps Flutter Web implementation where non-cloud styles were not being applied when an empty string was passed as a map ID. The changes ensure that an empty map ID is treated as null, allowing custom styles to be correctly applied. Additionally, the PR includes updated integration tests to verify this behavior and minor documentation cleanup. A suggestion was made to simplify the logic for handling the map ID string to improve readability.
Uh oh!
There was an error while loading. Please reload this page.
…onvert.dart Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
autosubmit label was removed for flutter/packages/11629, because - The status or check suite Mac_x64 ios_build_all_packages stable has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Uh oh!
There was an error while loading. Please reload this page.
…r#186002) flutter/packages@daf30f8...a2ad7e3 2026-05-04 stuartmorgan@google.com [tool] Extract most conformance checks to separate validator classes (flutter/packages#11610) 2026-05-01 fluttergithubbot@gmail.com Sync release-go_router-17.2.3 to main (flutter/packages#11633) 2026-05-01 engine-flutter-autoroll@skia.org Roll Flutter from 81bc3d6 to 707dbc0 (85 revisions) (flutter/packages#11630) 2026-05-01 stuartmorgan@google.com [google_maps_flutter] Fix styles on web (flutter/packages#11629) 2026-05-01 engine-flutter-autoroll@skia.org Roll Flutter (stable) from 02085fe to 00b0c91 (3 revisions) (flutter/packages#11627) 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 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
Fixes a regression from flutter#7882 that caused non-cloud map styling not be applied on web, since the app-facing package changed to sending '' rather than null when a cloud mapId wasn't provided, and the web implementation didn't handle that case. Fixesflutter/flutter#185171 *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. You must list at least one issue.* ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
Fixes a regression from #7882 that caused non-cloud map styling not be applied on web, since the app-facing package changed to sending '' rather than null when a cloud mapId wasn't provided, and the web implementation didn't handle that case.
Fixesflutter/flutter#185171
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue.
Pre-Review Checklist
[shared_preferences]///).Footnotes
Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. ↩↩2