copyWith method

Implementation

SymbolLayerProperties copyWith(SymbolLayerProperties changes) {
  return SymbolLayerProperties(
    iconOpacity: changes.iconOpacity ?? iconOpacity,
    iconColor: changes.iconColor ?? iconColor,
    iconHaloColor: changes.iconHaloColor ?? iconHaloColor,
    iconHaloWidth: changes.iconHaloWidth ?? iconHaloWidth,
    iconHaloBlur: changes.iconHaloBlur ?? iconHaloBlur,
    iconTranslate: changes.iconTranslate ?? iconTranslate,
    iconTranslateAnchor: changes.iconTranslateAnchor ?? iconTranslateAnchor,
    textOpacity: changes.textOpacity ?? textOpacity,
    textColor: changes.textColor ?? textColor,
    textHaloColor: changes.textHaloColor ?? textHaloColor,
    textHaloWidth: changes.textHaloWidth ?? textHaloWidth,
    textHaloBlur: changes.textHaloBlur ?? textHaloBlur,
    textTranslate: changes.textTranslate ?? textTranslate,
    textTranslateAnchor: changes.textTranslateAnchor ?? textTranslateAnchor,
    symbolPlacement: changes.symbolPlacement ?? symbolPlacement,
    symbolSpacing: changes.symbolSpacing ?? symbolSpacing,
    symbolAvoidEdges: changes.symbolAvoidEdges ?? symbolAvoidEdges,
    symbolSortKey: changes.symbolSortKey ?? symbolSortKey,
    symbolZOrder: changes.symbolZOrder ?? symbolZOrder,
    iconAllowOverlap: changes.iconAllowOverlap ?? iconAllowOverlap,
    iconIgnorePlacement: changes.iconIgnorePlacement ?? iconIgnorePlacement,
    iconOptional: changes.iconOptional ?? iconOptional,
    iconRotationAlignment:
        changes.iconRotationAlignment ?? iconRotationAlignment,
    iconSize: changes.iconSize ?? iconSize,
    iconTextFit: changes.iconTextFit ?? iconTextFit,
    iconTextFitPadding: changes.iconTextFitPadding ?? iconTextFitPadding,
    iconImage: changes.iconImage ?? iconImage,
    iconRotate: changes.iconRotate ?? iconRotate,
    iconPadding: changes.iconPadding ?? iconPadding,
    iconKeepUpright: changes.iconKeepUpright ?? iconKeepUpright,
    iconOffset: changes.iconOffset ?? iconOffset,
    iconAnchor: changes.iconAnchor ?? iconAnchor,
    iconPitchAlignment: changes.iconPitchAlignment ?? iconPitchAlignment,
    textPitchAlignment: changes.textPitchAlignment ?? textPitchAlignment,
    textRotationAlignment:
        changes.textRotationAlignment ?? textRotationAlignment,
    textField: changes.textField ?? textField,
    textFont: changes.textFont ?? textFont,
    textSize: changes.textSize ?? textSize,
    textMaxWidth: changes.textMaxWidth ?? textMaxWidth,
    textLineHeight: changes.textLineHeight ?? textLineHeight,
    textLetterSpacing: changes.textLetterSpacing ?? textLetterSpacing,
    textJustify: changes.textJustify ?? textJustify,
    textRadialOffset: changes.textRadialOffset ?? textRadialOffset,
    textVariableAnchor: changes.textVariableAnchor ?? textVariableAnchor,
    textAnchor: changes.textAnchor ?? textAnchor,
    textMaxAngle: changes.textMaxAngle ?? textMaxAngle,
    textWritingMode: changes.textWritingMode ?? textWritingMode,
    textRotate: changes.textRotate ?? textRotate,
    textPadding: changes.textPadding ?? textPadding,
    textKeepUpright: changes.textKeepUpright ?? textKeepUpright,
    textTransform: changes.textTransform ?? textTransform,
    textOffset: changes.textOffset ?? textOffset,
    textAllowOverlap: changes.textAllowOverlap ?? textAllowOverlap,
    textIgnorePlacement: changes.textIgnorePlacement ?? textIgnorePlacement,
    textOptional: changes.textOptional ?? textOptional,
    visibility: changes.visibility ?? visibility,
  );
}