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

Revise attributions of Carto, Stamen and Open Street Map styles #5696

Merged
merged 12 commits into from
Jun 2, 2021

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented May 31, 2021

Fixes #5675.

@plotly/plotly_js

@archmoj archmoj added bug something broken status: reviewable labels May 31, 2021
@archmoj archmoj added this to the NEXT milestone May 31, 2021
@alexcjohnson
Copy link
Collaborator

AFAICT only the Carto attributions should change, the Stamen ones were already using the correct attributions as described in http://maps.stamen.com/. They're a little long, but feels to me as though we should stick to their desired attributions.

@nicolaskruchten
Copy link
Contributor

For Carto, just add whatever OSM requires :)

@@ -1487,6 +1548,11 @@ describe('mapbox plots', function() {
var s = d3SelectAll('.mapboxgl-ctrl-attrib');
expect(s.size()).toBe(1);
expect(s.text()).toEqual('© Mapbox © OpenStreetMap Improve this map');
assertLinks(s, [
'https://www.mapbox.com/about/maps/',
'http://www.openstreetmap.org/about/',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@alexcjohnson any suggestion on how to replace this http link with https?

Copy link
Contributor

Choose a reason for hiding this comment

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

if this is coming from MapboxGL.js let's just leave it for now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah. It's coming from there.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃

@archmoj archmoj changed the title Include Open Street Map in attribution when using Carto and Stamen styles Revise attributions of Carto, Stamen and Open Street Map styles Jun 2, 2021
@archmoj archmoj merged commit ff7cf01 into master Jun 2, 2021
@archmoj archmoj deleted the fix5675-open-street-map-credit branch June 2, 2021 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpennStreetMap credit
3 participants