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

Size attribution to fit narrower snapshot images #10423

Closed

Description

@1ec5

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:

  • helmet and wordmark     © Mapbox © OpenStreetMap © DigitalGlobe
  • helmet     © Mapbox © OpenStreetMap © DigitalGlobe
  • © Mapbox © OSM © DigitalGlobe

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.

/cc @tobrun @fabian-guerra

Activity

  1. added
    Android
    iOS
    macOS
    on Nov 8, 2017
  2. added this to the milestone on Nov 8, 2017
  3. lilykaiser commented on Nov 9, 2017

    @lilykaiser

    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:

    1. [FULL LOGO] ©Mapbox (©OpenStreetMap) (©DigitalGlobe)
    2. [HELMET] ©Mapbox (©OpenStreetMap) (©DigitalGlobe)
    3. ©Mapbox (©OpenStreetMap) (©DigitalGlobe)
    4. ©Mapbox (©OSM) (©DigitalGlobe)
    5. We throw an error, developer must provide attribution
  4. 1ec5 commented on Nov 9, 2017

    @1ec5
    ContributorAuthor

    We throw an error, developer must provide attribution

    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?

  5. lilykaiser commented on Nov 9, 2017

    @lilykaiser

    Maybe that is what I meant, I defer to the implementers!

    Thanks for clarifying @1ec5

  6. lilykaiser commented on Nov 29, 2017

    @lilykaiser

    Hi @fabian-guerra , should we close this or wait for #10525 ?

  7. fabian-guerra commented on Nov 29, 2017

    @fabian-guerra
    Contributor

    Hi, @lilykaiser. I think we can close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidiOSmacOS

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions