-
Notifications
You must be signed in to change notification settings - Fork 157
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
Snapshotter attribution #567
Conversation
Sources/MapboxMaps/Foundation/Attribution/AttributionMeasure.swift
Outdated
Show resolved
Hide resolved
Sources/MapboxMaps/Foundation/Attribution/AttributionMeasure.swift
Outdated
Show resolved
Hide resolved
Sources/MapboxMaps/Foundation/Attribution/AttributionMeasure.swift
Outdated
Show resolved
Hide resolved
Sources/MapboxMaps/Foundation/Attribution/AttributionView.swift
Outdated
Show resolved
Hide resolved
static let metricsEnabledKey = "MGLMapboxMetricsEnabled" | ||
static let telemetryURL = "https://www.mapbox.com/telemetry/" | ||
} | ||
internal struct Ornaments { |
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.
this struct feels mislabeled, does not feel like it is Ornaments
069169d
to
edd29bc
Compare
return attributions | ||
} | ||
} | ||
|
||
// MARK: - Testing only! - | ||
|
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.
I know you did not edit this as part of this PR, but I think adding code just for testing in the class itself is not a good practice. Test code extensions can maybe sit in the test classes or something. It also raises an interesting question of why this is needed and if we can refactor.
Although this is probably a separate conversation
@@ -0,0 +1,21 @@ | |||
{ | |||
"images" : [ |
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.
are these for testing purposes only? If so, we can add just a single file outside of the asset catalog to avoid some bloating of files
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.
see this PR for an example
Noting that we are planning to evaluate using a |
2298bdd
to
903bf3a
Compare
PRs must be submitted under the terms of our Contributor License Agreement CLA.
WIP
Fixes: < Link to related issues that will be fixed by this pull request, if they exist >
Pull request checklist:
mapbox-maps-ios
changelog:<changelog></changelog>
.Summary of changes
User impact (optional)