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

Allow for Mapbox logo to be placed on either side of the map. #1919

Closed
wants to merge 1 commit into from
Closed

Allow for Mapbox logo to be placed on either side of the map. #1919

wants to merge 1 commit into from

Conversation

bwhtmn
Copy link
Contributor

@bwhtmn bwhtmn commented Jul 23, 2015

Created a property to choose whether the Mapbox logo should be shown on the right or left bottom corner of the maps. Defaults to bottom left, the same as current behavior. Having a bottom right placement option is convenient for developers who already have other UI components in the bottom left corner.

@incanus
Copy link
Contributor

incanus commented Jul 23, 2015

While I appreciate the code here, we've got a discussion already in #1781 about generic moving of the logo as well as the attribution button and the compass, why this gets complex, and why we will probably just stick with hiding and showing for now.

@incanus incanus closed this Jul 23, 2015
Copy link

@andrewcar andrewcar left a comment

Choose a reason for hiding this comment

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

I would have said
(self.logoSide == NSLayoutAttributeLeading) ? 8 : -8
on line 638.

But that's just cause I'm more of a half glass full guy.

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

Successfully merging this pull request may close these issues.

3 participants