Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[google_maps_flutter_platform_interface] Adds size to BitmapDescriptor (1/2) #6208

Merged
merged 3 commits into from
Aug 16, 2022

Conversation

ditman
Copy link
Member

@ditman ditman commented Aug 5, 2022

Adds a size parameter to the BitmapDescriptor.fromBytes constructor, so web applications can specify the actual physical size of the bitmap.

The parameter is not needed (and ignored) in other platforms. Other platforms seem to be doing actual size / dpi to figure out the correct physical size.

Fixes (part 1) flutter/flutter#73789

Testing

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@ditman ditman requested a review from stuartmorgan-g as a code owner August 5, 2022 01:49
@ditman ditman changed the title [google_maps_flutter_platform_interface] Adds size to BitmapDescriptor [google_maps_flutter_platform_interface] Adds size to BitmapDescriptor (1/2) Aug 5, 2022
Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 16, 2022
@stuartmorgan-g stuartmorgan-g merged commit 8749540 into flutter:main Aug 16, 2022
@ditman
Copy link
Member Author

ditman commented Aug 17, 2022

Thanks for landing this @stuartmorgan, you're a beast! 🙏

engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 17, 2022
camsim99 pushed a commit to camsim99/plugins that referenced this pull request Aug 23, 2022
…r (1/2) (flutter#6208)

Adds a size parameter to the BitmapDescriptor.fromBytes constructor, so web applications can specify the actual physical size of the bitmap.

The parameter is not needed (and ignored) in other platforms. Other platforms seem to be doing actual size / dpi to figure out the correct physical size.

Fixes (part 1) flutter/flutter#73789
moisefeelin pushed a commit to feelinproject/plugins that referenced this pull request Aug 26, 2022
…r (1/2) (flutter#6208)

Adds a size parameter to the BitmapDescriptor.fromBytes constructor, so web applications can specify the actual physical size of the bitmap.

The parameter is not needed (and ignored) in other platforms. Other platforms seem to be doing actual size / dpi to figure out the correct physical size.

Fixes (part 1) flutter/flutter#73789
mauricioluz pushed a commit to mauricioluz/plugins that referenced this pull request Jan 26, 2023
…r (1/2) (flutter#6208)

Adds a size parameter to the BitmapDescriptor.fromBytes constructor, so web applications can specify the actual physical size of the bitmap.

The parameter is not needed (and ignored) in other platforms. Other platforms seem to be doing actual size / dpi to figure out the correct physical size.

Fixes (part 1) flutter/flutter#73789
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: google_maps_flutter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants