From e9ad08274471fb30e8cfddf55c3a6c5426943b20 Mon Sep 17 00:00:00 2001 From: Patrick W Date: Wed, 11 Dec 2024 06:15:11 +0100 Subject: [PATCH] Default to nil for contentInset (#64) --- Sources/MapLibreSwiftUI/MapView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/MapLibreSwiftUI/MapView.swift b/Sources/MapLibreSwiftUI/MapView.swift index 3cc4081..8a24ce6 100644 --- a/Sources/MapLibreSwiftUI/MapView.swift +++ b/Sources/MapLibreSwiftUI/MapView.swift @@ -18,7 +18,7 @@ public struct MapView: UIViewControllerRepresentab var onStyleLoaded: ((MLNStyle) -> Void)? var onViewPortChanged: ((MapViewPort) -> Void)? - var mapViewContentInset: UIEdgeInsets? = .zero + var mapViewContentInset: UIEdgeInsets? var unsafeMapViewControllerModifier: ((T) -> Void)?