Reputation: 249
How do you configure the map to be zoomed out till globe is shown (swift)? I know you can set the mapType to hybridFlyover or satelliteFlyover however this solution doesn't look like apple's map, when fully zoomed out.
Upvotes: 6
Views: 1169
Reputation: 880
Using SwiftUI on iOS 17:
.mapStyle(.imagery(elevation: .realistic))
or
.mapStyle(.hybrid(elevation: .realistic))
or
.mapStyle(.standard(elevation: .realistic))
note that .standard
is not working, I think it's due to a bug, but it's working fine with other styles.
Upvotes: 5