Files
MapLibreParticleLab/platform/ios/app-swift/Sources/MapLibreNavigationView.swift
2024-07-16 13:52:57 +02:00

62 lines
2.6 KiB
Swift

import MapLibre
import SwiftUI
struct MapLibreNavigationView: View {
var body: some View {
NavigationStack {
List {
NavigationLink("SimpleMap") {
SimpleMap().edgesIgnoringSafeArea(.all)
}
NavigationLink("LineTapMap") {
LineTapMap().edgesIgnoringSafeArea(.all)
}
NavigationLink("LocationPrivacyExample") {
LocationPrivacyExampleView()
}
NavigationLink("BlockingGesturesExample") {
BlockingGesturesExample()
}
NavigationLink("LineStyleLayerExample") {
LineStyleLayerExampleUIViewControllerRepresentable()
}
NavigationLink("WebAPIDataExample") {
WebAPIDataExampleUIViewControllerRepresentable()
}
NavigationLink("AddMarkerExample") {
AddMarkerSymbolExampleUIViewControllerRepresentable()
}
Group {
NavigationLink("AnimatedLineExample") {
AnimatedLineExampleUIViewControllerRepresentable()
}
NavigationLink("AnnotationViewExample") {
AnnotationViewExampleUIViewControllerRepresentable()
}
NavigationLink("BuildingLightExample") {
BuildingLightExampleUIViewControllerRepresentable()
}
NavigationLink("StaticSnapshotExample") {
StaticSnapshotExampleUIViewControllerRepresentable()
}
NavigationLink("DDSCircleLayerExample") {
DDSCircleLayerExampleUIViewControllerRepresentable().edgesIgnoringSafeArea(.all)
}
NavigationLink("POIAlongRouteExample") {
POIAlongRouteExampleUIViewControllerRepresentable()
}
NavigationLink("ManageOfflineRegionsExample") {
ManageOfflineRegionsExampleUIViewControllerRepresentable()
}
NavigationLink("OfflinePackExampleUIViewControllerRepresentable") {
OfflinePackExampleUIViewControllerRepresentable()
}
NavigationLink("MultipleImagesExample") {
MultipleImagesExampleUIViewControllerRepresentable().edgesIgnoringSafeArea(.all)
}
}
}
}
}
}