maplibre-native
maplibre-native copied to clipboard
`mapViewDidFinishRenderingFrameFullyRendered` not called in `MLNMapView` for iOS since 6.x.x update
Description
When interacting with the map using gestures like panning or flinging, the mapViewDidFinishRenderingFrameFullyRendered
should be called in MLNMapView
in order to adapt to the updated view. The NavigationMapView
of maplibre-navigation-ios inherits from MLNMapView
and overrides the function to update the puck position for certain cases. Since the 6.0.0 update, the function is not called, which causes massive problems with the behavior of the puck movement during active navigation.
To Reproduce
- Run any iOS application with a
MLNMapView
- Add a breakpoint to the
mapViewDidFinishRenderingFrameFullyRendered
- pan or fling the map
Expected behavior
mapViewDidFinishRenderingFrameFullyRendered
is called with each update caused by the gesture.
Actual behavior
mapViewDidFinishRenderingFrameFullyRendered
is not called.
Screenrecording
https://github.com/maplibre/maplibre-native/assets/895046/dd59b70e-9475-4ec4-8273-4be5b8e8b913
Platform information :
- OS: iOS 16.7.4 onwards
- Device: Simulator and physical
Additional context The related issue for maplibre-navigation-ios: https://github.com/maplibre/maplibre-navigation-ios/issues/27