Hello Apple support,
I have this following code
Map(position: $mCam, selection: $lastSelection) {
// Display content conditionally based on camera scope.
// ^^^ works with user gesture, does not work with mapCameraKeyframeAnimator
}
.onMapCameraChange(frequency: .continuous , { context in
// save the camera scope
})
.mapCameraKeyframeAnimator(trigger: self.trigger, keyframes: { camera in
// frames
})
Context:
- when logging, the
.onMapCameraChange
is updating. The content mapContentBuilder is running. But the content is NOT showing up on the map. MapCircle
,MapPolyline
does not show! however,Marker
works just fine
Question:
- Anyone know How to indicate to MapKit Map view to draw the content?
- Or how to have a slight "break" between animation keyframes, so map can catch up.