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.

Make -[MGLMapView showAttribution:] public #9024

Closed

Description

@1ec5

-[MGLMapView showAttribution:] should be a public IBAction. That way the developer can implement their own attribution button and easily hook it up to the map view's attribution sheet. The current workaround requires setting the custom button's action to the built-in attributionButton's action, but that's fairly undiscoverable.

On macOS, MGLMapView has a public giveFeedback: action for the same purpose. (Copyright notices are displayed on the map instead of on demand, hence the naming difference.)

/ref #1781 (comment)
/cc @frederoni @nosyjoe

Activity

  1. added
    iOS
    on May 18, 2017
  2. 1ec5 commented on Jul 6, 2017

    @1ec5
    ContributorAuthor

    This is essentially a slightly more flexible analogue of mapbox/mapbox-gl-js#1485.

  3. self-assigned this
    on Sep 28, 2017
  4. added this to the milestone on Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

iOS

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions