Custom Map Padding
How use map padding
If your app uses UI components that overlays the map, like a search bar, a bottom sheet or other components, you'll have to add padding to the MPMapControl
. The first step is to create a new UIView
or use an existing one.
Add Constraints to the newly created UIView
Add mapPadding to mapControl
REMEMBER
It's important to notice that you need to adjust the padding so it fits your solution.
Expected Result
Last updated