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

Make -[MGLMapView showAttribution:] public #9024

Closed
1ec5 opened this issue May 17, 2017 · 1 comment
Closed

Make -[MGLMapView showAttribution:] public #9024

1ec5 opened this issue May 17, 2017 · 1 comment
Assignees
Labels
iOS Mapbox Maps SDK for iOS

Comments

@1ec5
Copy link
Contributor

1ec5 commented May 17, 2017

-[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

@kkaefer kkaefer added the iOS Mapbox Maps SDK for iOS label May 18, 2017
@1ec5
Copy link
Contributor Author

1ec5 commented Jul 6, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

3 participants