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

Clean up source-driven attribution - #6465

Merged
1ec5 merged 2 commits into
masterfrom
1ec5-attribution-callback-core-cleanup
Sep 26, 2016
Merged

1ec5 merged 2 commits into
masterfrom
1ec5-attribution-callback-core-cleanup

Conversation

@1ec5

@1ec5 1ec5 commented Sep 26, 2016

Copy link
Copy Markdown
Contributor

This is a followup to #6431 that addresses the feedback in #6431 (review). SDK code that wishes to display the style’s full attribution, such as MGLMapView in #5999, is now responsible for iterating over the style’s sources. The source attribution change notification has been generalized so that it can be reused in the future for other source changes.

/cc @jfirebaugh @tmpsantos

Since client code can readily access the individual sources, Map doesn’t need to expose a dedicated API for iterating over them.
This same notification can in the future be used for other changes to a source.
@1ec5 1ec5 added refactor Core The cross-platform C++ core, aka mbgl Qt Mapbox Maps SDK for Qt, aka Qt Location Mapbox GL labels Sep 26, 2016
@1ec5 1ec5 self-assigned this Sep 26, 2016
@mention-bot

Copy link
Copy Markdown

@1ec5, thanks for your PR! By analyzing this pull request, we identified @jfirebaugh, @tmpsantos and @incanus to be potential reviewers.

@jfirebaugh jfirebaugh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👌

@1ec5
1ec5 merged commit 0f5b194 into master Sep 26, 2016
@1ec5
1ec5 deleted the 1ec5-attribution-callback-core-cleanup branch September 26, 2016 23:08
@1ec5 1ec5 mentioned this pull request Oct 17, 2016
9 tasks done
@1ec5 1ec5 mentioned this pull request Oct 31, 2017
7 tasks done
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Core The cross-platform C++ core, aka mbgl Qt Mapbox Maps SDK for Qt, aka Qt Location Mapbox GL refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants