Closed FezVrasta closed 8 months ago
On Mapbox 11 (SwiftUI) I'm using .overview to fit the camera to a specific region. How can I do the same with MapboxStatic?
.overview
viewport = .overview( geometry: Polygon([[ LocationCoordinate2D(latitude: minLatitude, longitude: minLongitude), LocationCoordinate2D(latitude: minLatitude, longitude: maxLongitude), LocationCoordinate2D(latitude: maxLatitude, longitude: minLongitude), LocationCoordinate2D(latitude: maxLatitude, longitude: maxLongitude) ]]) )
ah nm, I just found the overlays trick of not specifying camera, I can use that
On Mapbox 11 (SwiftUI) I'm using
.overview
to fit the camera to a specific region. How can I do the same with MapboxStatic?