LineLayer constructor
LineLayer(- {required dynamic id,
- dynamic visibility,
- dynamic minZoom,
- dynamic maxZoom,
- dynamic slot,
- required String sourceId,
- String? sourceLayer,
- LineCap? lineCap,
- LineJoin? lineJoin,
- double? lineMiterLimit,
- double? lineRoundLimit,
- double? lineSortKey,
- double? lineBlur,
- int? lineBorderColor,
- double? lineBorderWidth,
- int? lineColor,
- List<double?>? lineDasharray,
- double? lineDepthOcclusionFactor,
- double? lineEmissiveStrength,
- double? lineGapWidth,
- int? lineGradient,
- double? lineOffset,
- double? lineOpacity,
- String? linePattern,
- List<double?>? lineTranslate,
- LineTranslateAnchor? lineTranslateAnchor,
- List<double?>? lineTrimOffset,
- double? lineWidth}
)
Implementation
LineLayer({
required id,
visibility,
minZoom,
maxZoom,
slot,
required this.sourceId,
this.sourceLayer,
this.lineCap,
this.lineJoin,
this.lineMiterLimit,
this.lineRoundLimit,
this.lineSortKey,
this.lineBlur,
this.lineBorderColor,
this.lineBorderWidth,
this.lineColor,
this.lineDasharray,
this.lineDepthOcclusionFactor,
this.lineEmissiveStrength,
this.lineGapWidth,
this.lineGradient,
this.lineOffset,
this.lineOpacity,
this.linePattern,
this.lineTranslate,
this.lineTranslateAnchor,
this.lineTrimOffset,
this.lineWidth,
}) : super(
id: id,
visibility: visibility,
maxZoom: maxZoom,
minZoom: minZoom,
slot: slot);