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

Add map padding to MGLMapView #7883

Closed
vivienlegrand opened this issue Jan 27, 2017 · 1 comment
Closed

Add map padding to MGLMapView #7883

vivienlegrand opened this issue Jan 27, 2017 · 1 comment
Labels
iOS Mapbox Maps SDK for iOS

Comments

@vivienlegrand
Copy link

I've a transparent menu at the bottom of my iOS application, and I've found no easy way to add a padding in my map for centering element in the visible part.
The MGLUserLocationAnnotationView is not centered, and Mapbox image and Attribution button are not visible.
The problem has been solved in Android in the issue #3761.

@1ec5 1ec5 added the iOS Mapbox Maps SDK for iOS label Jan 27, 2017
@1ec5
Copy link
Contributor

1ec5 commented Jan 27, 2017

This feature was implemented for iOS in #3583 and #3589. See -[MGLMapView setContentInset:animated:] and -[MGLMapView setUserLocationVerticalAlignment:animated:].

@1ec5 1ec5 closed this as completed Jan 27, 2017
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

2 participants