MVTPolylineStyle

MVT线样式配置

interface MVTPolylineStyle {
    dashArray?: any[] | number[];
    strokeColor?: string | any[];
    strokeLineCap?: string | any[];
    strokeLineJoin?: string | any[];
    strokeOpacity?: number | any[];
    strokeStyle?: string | any[];
    strokeWeight?: number | any[];
    visibility?: boolean | any[];
}

属性

虚线设置,默认[8,4]

线颜色,默认#142655

线端头类型:round, butt, square

线连接处类型:miter, round, bevel

线透明度,默认1

线类型:solid, dashed, dotted

线宽度,默认2

是否显示