The map's inset margins.
- MapKit JS 5.0+
The padding affects the map's controls layout and the region drawn by the map which is computed to fit within the inset frame as specified by the padding.
visible is computed to fit within the inset frame with the constraint that the entire, non-inset frame must be able to contain map data as well. Using the
show method ensures that all annotations and overlays are visible within the inset frame and the map region is modified when an annotation's callout is displayed to ensure it is entirely visible within the inset frame.