⚠️ If you're recreating theMapboxRouteLineViewinstance, for example to change theMapboxRouteLineOptions, make sure that your first interaction restores the state and re-applies the options by callingMapboxRouteLineApi.getRouteDrawDataand passing the result toMapboxRouteLineView.renderRouteDrawData. This is a necessary change to fix an issue whereMapboxRouteLineOptionsprovided in a new instance ofMapboxRouteLineViewwere ignored if the style object used withrenderfunctions already had route line layers initialized.