You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Size attribution to fit narrower snapshot images #10423
Continuing where #10114 left off, narrower snapshot images may not have enough room for both the Mapbox logo and the fully spelled-out attribution text on a single line. For consistency with the Mapbox Static API, the following formats have been proposed, in order from longest to shortest:
The exact attribution text depends on the sources involved. The examples above assume the Mapbox Satellite Streets style, which involves the most sources of any Mapbox-designed core style.
Hey @1ec5 , let's follow the above proposal where space allows. To make attribution as frictionless as possible, we are going to add the following logic to minimize the cases where developers have to add their own attribution:
Activity
lilykaiser commentedon Nov 9, 2017
Hey @1ec5 , let's follow the above proposal where space allows. To make attribution as frictionless as possible, we are going to add the following logic to minimize the cases where developers have to add their own attribution:
1ec5 commentedon Nov 9, 2017
If we throw an error, there will be no snapshot to provide attribution for. Can we just log a one-time warning to the console instead?
lilykaiser commentedon Nov 9, 2017
Maybe that is what I meant, I defer to the implementers!
Thanks for clarifying @1ec5
lilykaiser commentedon Nov 29, 2017
Hi @fabian-guerra , should we close this or wait for #10525 ?
fabian-guerra commentedon Nov 29, 2017
Hi, @lilykaiser. I think we can close it.