62 lines
2.6 KiB
Swift
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)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|