Skip to content

Commit d1f9ecc

Browse files
authored
Minor cleanup (maplibre#52)
* Finish MapLibre onboarding * Fix stray bracket; finish modernizing preview
1 parent 5ba75ef commit d1f9ecc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Any breaking API changes will be reflected in release notes.
2626
* Add [markers](Sources/MapLibreSwiftUI/Examples/Gestures.swift), [polylines](Sources/MapLibreSwiftUI/Examples/Polyline.swift) and similar annotations
2727
* Interaction with features through [gestures](Sources/MapLibreSwiftUI/Examples/Gestures.swift)
2828
* Clustering (common use case that's rather difficult for first timers)
29-
* [Overlays]](Sources/MapLibreSwiftUI/Examples/)
29+
* [Overlays](Sources/MapLibreSwiftUI/Examples/)
3030
* Dynamic styling
3131
* [Camera control](Sources/MapLibreSwiftUI/Examples/Camera.swift)
3232
* Turn-by-turn Navigation (see the showcase integrations below)

Sources/MapLibreSwiftUI/MapView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,9 @@ public extension MapView where T == MLNMapViewController {
148148
}
149149
}
150150

151-
#Preview {
151+
#Preview("Vanilla Map") {
152152
MapView(styleURL: demoTilesURL)
153153
.ignoresSafeArea(.all)
154-
.previewDisplayName("Vanilla Map")
155154

156155
// For a larger selection of previews,
157156
// check out the Examples directory, which

0 commit comments

Comments
 (0)