copyWith method

MapTileOptions copyWith({
  1. int? prefetchZoomDelta,
  2. double? lodMinRadius,
  3. double? lodScale,
  4. double? lodPitchThreshold,
  5. double? lodZoomShift,
  6. TileLodMode? lodMode,
})

A copy of this value with the given members replaced.

Implementation

MapTileOptions copyWith({
  int? prefetchZoomDelta,
  double? lodMinRadius,
  double? lodScale,
  double? lodPitchThreshold,
  double? lodZoomShift,
  TileLodMode? lodMode,
}) => MapTileOptions(
  prefetchZoomDelta: prefetchZoomDelta ?? this.prefetchZoomDelta,
  lodMinRadius: lodMinRadius ?? this.lodMinRadius,
  lodScale: lodScale ?? this.lodScale,
  lodPitchThreshold: lodPitchThreshold ?? this.lodPitchThreshold,
  lodZoomShift: lodZoomShift ?? this.lodZoomShift,
  lodMode: lodMode ?? this.lodMode,
);