set initial position further out

This commit is contained in:
Garth Vander Houwen 2024-07-09 18:34:40 -07:00
parent 5c57d38ee6
commit eadb5d0c66

View file

@ -47,7 +47,7 @@ struct NodeMapSwiftUI: View {
if node.hasPositions {
ZStack {
MapReader { _ in
Map(position: $position, bounds: MapCameraBounds(minimumDistance: 1, maximumDistance: .infinity), scope: mapScope) {
Map(position: $position, bounds: MapCameraBounds(minimumDistance: 3000, maximumDistance: .infinity), scope: mapScope) {
NodeMapContent(node: node)
}
.mapScope(mapScope)