Map Zoom not Upgrading

Trying to navigate between screens and keep the zooming in activated. When I make the first connection to the map it zooms in just fine. However when I go back to the navigation menu and select map view again it is not zoomed. Thank you
Screen Shot 2020-06-03 at 9.11.30 AM IMG_6542.PNG IMG_6543.PNG

Pardon me but Where is this in swiftUI ?

As soon as I add an annotation and go back to the menu it no longer zooms in. However if there are no annotations it will zoom in every time. This is where I add an annotation from Core Data.
for myLocation in myLocations {
if (myLocation.date! >= WeeklySpan(increment: myValue)){
let annotations = MKPointAnnotation()
annotations.coordinate = CLLocationCoordinate2D(latitude: myLocation.latitude, longitude: myLocation.longitude)
annotations.title = myLocation.detail
mapView.addAnnotations([annotations])
myCount -= 1
print(myValue)
print(myCount)
print(myLocation.date! as Any)
print(WeeklySpan(increment: myValue))
}

        }
        return mapView

@flmcl Do you still have issues with this?

This topic was automatically closed after 166 days. New replies are no longer allowed.