diff --git a/README.md b/README.md index 684ed39..3b3fb12 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Any breaking API changes will be reflected in release notes. * Add [markers](Sources/MapLibreSwiftUI/Examples/Gestures.swift), [polylines](Sources/MapLibreSwiftUI/Examples/Polyline.swift) and similar annotations * Interaction with features through [gestures](Sources/MapLibreSwiftUI/Examples/Gestures.swift) * Clustering (common use case that's rather difficult for first timers) - * [Overlays]](Sources/MapLibreSwiftUI/Examples/) + * [Overlays](Sources/MapLibreSwiftUI/Examples/) * Dynamic styling * [Camera control](Sources/MapLibreSwiftUI/Examples/Camera.swift) * Turn-by-turn Navigation (see the showcase integrations below) diff --git a/Sources/MapLibreSwiftUI/MapView.swift b/Sources/MapLibreSwiftUI/MapView.swift index 7fe949e..3cc4081 100644 --- a/Sources/MapLibreSwiftUI/MapView.swift +++ b/Sources/MapLibreSwiftUI/MapView.swift @@ -148,10 +148,9 @@ public extension MapView where T == MLNMapViewController { } } -#Preview { +#Preview("Vanilla Map") { MapView(styleURL: demoTilesURL) .ignoresSafeArea(.all) - .previewDisplayName("Vanilla Map") // For a larger selection of previews, // check out the Examples directory, which