MapBoxOptions.from constructor

MapBoxOptions.from(
  1. MapBoxOptions option
)

Implementation

MapBoxOptions.from(MapBoxOptions option) {
  initialLatitude = option.initialLatitude;
  initialLongitude = option.initialLongitude;
  language = option.language;
  zoom = option.zoom;
  bearing = option.bearing;
  tilt = option.tilt;
  alternatives = option.alternatives;
  mode = option.mode;
  units = option.units;
  allowsUTurnAtWayPoints = option.allowsUTurnAtWayPoints;
  enableRefresh = option.enableRefresh;
  voiceInstructionsEnabled = option.voiceInstructionsEnabled;
  bannerInstructionsEnabled = option.bannerInstructionsEnabled;
  longPressDestinationEnabled = option.longPressDestinationEnabled;
  simulateRoute = option.simulateRoute;
  isOptimized = option.isOptimized;
  mapStyleUrlDay = option.mapStyleUrlDay;
  mapStyleUrlNight = option.mapStyleUrlNight;
  padding = option.padding;
  animateBuildRoute = option.animateBuildRoute;
  showReportFeedbackButton = option.showReportFeedbackButton;
  showEndOfRouteFeedback = option.showEndOfRouteFeedback;
}