圆样式设置

Since

1.0.0

interface ICircleOption {
    alpha?: number;
    visible?: boolean;
    isClickable?: boolean;
    zIndex?: number;
    startLevel?: number;
    endLevel?: number;
    center?: LatLng;
    radius?: number;
    radiusUnit?: UnitOption;
    fillcolor?: string;
    stroke?: Stroke;
    isGradientCircle?: boolean;
    gradientColors?: string[];
    gradientRadiusWeight?: number;
    gradientColorWeight?: 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

center?: LatLng

圆心坐标

Since

1.0.0

radius?: number

半径

Since

1.0.0

radiusUnit?: UnitOption

长度单位

Since

1.2.0

fillcolor?: string

填充颜色

Since

1.0.0

stroke?: Stroke

描边样式

Since

1.0.0

isGradientCircle?: boolean

是否启用渐变

Since

1.2.0

gradientColors?: string[]

渐变颜色序列

Since

1.2.0

gradientRadiusWeight?: number

渐变半径权重 0.0 ~ 1.0

Since

1.2.0

gradientColorWeight?: number

渐变颜色权重 0.0 ~ 1.0

Since

1.2.0