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

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.