Skip to content
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

Changed Attribution Methods #1262

Merged
merged 1 commit into from
Jun 9, 2022
Merged

Changed Attribution Methods #1262

merged 1 commit into from
Jun 9, 2022

Conversation

JaffaKetchup
Copy link
Member

Inline with #1040, this deprecates the old method of attribution via attributionBuilder, and replaces it with a new layer widget: AttributionWidget.

AttributionWidget is intended to be used inside nonRotatedChildren. Therefore, both the README, main example page, and in-code documentation reflect this. It now also aligns with the map as expected, unlike the old method.

Also provided is a quicker way to attribute by using AttributionWidget.defaultWidget, which automatically styles the widget similar to how it is seen elsewhere on the Internet. The example and README use this for demonstration.

Resolves #1040 by replacing #1012.

Added new `AttributionWidget` intended as replacement
Updated README & CHANGELOG
Updated pubspec.yaml
@JaffaKetchup JaffaKetchup requested a review from ibrierley June 8, 2022 20:31
Copy link
Contributor

@ibrierley ibrierley left a comment

Choose a reason for hiding this comment

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

All good tho me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attribution is affected by map rotation
2 participants