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

[ios] Expose setCamera with padding #9651

Merged

Conversation

frederoni
Copy link
Contributor

Added a new camera method that takes edgePadding as a parameter to overcome the default insets contentInsets which insets the ornaments like compass and attribution.

@friedbunny friedbunny added the iOS Mapbox Maps SDK for iOS label Jul 31, 2017
@ericrwolfe ericrwolfe requested a review from boundsj August 1, 2017 18:43
Copy link
Contributor

@boundsj boundsj left a comment

Choose a reason for hiding this comment

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

This looks good to me since it only exposes a new API with no effective change to the existing internal behavior.

Tagging in @friedbunny and @fabian-guerra for an additional set of 👀 . I'm ready to approve after they review.

Copy link
Contributor

@fabian-guerra fabian-guerra left a comment

Choose a reason for hiding this comment

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

👍🏼

@boundsj boundsj added this to the ios-v3.6.2 milestone Aug 2, 2017
Copy link
Contributor

@friedbunny friedbunny left a comment

Choose a reason for hiding this comment

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

Please add this to the changelog. 🙇

I rebased and added a changelog entry.

@friedbunny friedbunny force-pushed the fred-expose-setcamera-padding branch from 00ad425 to 0b17fcc Compare August 2, 2017 23:00
@frederoni frederoni merged commit 6a8ed6f into release-ios-v3.6.0-android-v5.1.0 Aug 3, 2017
@frederoni frederoni deleted the fred-expose-setcamera-padding branch August 3, 2017 14:44
@1ec5
Copy link
Contributor

1ec5 commented Aug 17, 2017

Added this issue to the macOS parity tracking project.

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

Successfully merging this pull request may close these issues.

5 participants