From 6ed3941e922818d53d721ba21674d6bd2f2c57b6 Mon Sep 17 00:00:00 2001 From: Patrick W Date: Tue, 10 Dec 2024 13:05:42 +0100 Subject: [PATCH] Default to nil for contentInset --- 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)?