mapbox-navigation-ios
                                
                                 mapbox-navigation-ios copied to clipboard
                                
                                    mapbox-navigation-ios copied to clipboard
                            
                            
                            
                        State of injected `NavigationMapView` should be reverted to the original one after finishing active navigation.
While injecting NavigationMapView to the NavigationViewController several of its properties will be irrevocably modified. It'll lead to undefined behavior while invoking camera updates, calling delegate methods etc.
In scope of this ticket state saving mechanism should be implemented, which allows to revert back to original state of NavigationMapView (the one which was used prior to injection).
It'd be good to have an object cloning mechanism, which allows to clone NavigationMapView, MapView and internal object. Will create a ticket on Maps SDK side to discuss this possibility.
Ticket was created here: ~~https://github.com/mapbox/mapbox-maps-ios-internal/issues/1055~~ ~~mapbox/mapbox-maps-internal#1006~~ mapbox/mapbox-maps-internal#732.