Interface ITextPathMarkerOption

弧线样式设置

Since

2.0.0

interface ITextPathMarkerOption {
    alpha?: number;
    visible?: boolean;
    isClickable?: boolean;
    zIndex?: number;
    startLevel?: number;
    endLevel?: number;
    text: string;
    textColor: ColorString;
    textSize: number;
    points: LatLng[];
    textBorderWidth?: number;
    textBorderColor?: ColorString;
    textFontOption?: number;
}

Hierarchy (view full)

Properties

alpha?: number

设置透明度 [0,1]

Since

1.1.0

visible?: boolean

是否显示

Since

1.1.0

isClickable?: boolean

是否启用点击

Since

1.1.0

zIndex?: number

设置层级

Since

1.1.0

startLevel?: number

开始显示地图缩放级别

Since

1.0.0

endLevel?: number

结束显示地图缩放级别

Since

1.0.0

text: string

路名文字,

Since

2.0.0

textColor: ColorString

文字颜色,

Since

2.0.0

textSize: number

文字大小,

Since

2.0.0

points: LatLng[]

道路信息,至少两个点,

Since

2.0.0

textBorderWidth?: number

文字描边的宽度),

Since

2.0.0

textBorderColor?: ColorString

文字描边的颜色,

Since

2.0.0

textFontOption?: number

字体格式 0:标准,1:加粗,2:斜体,3:中粗,4:细体