Interface AddVectorTileOverlayLayerProperty
interface AddVectorTileOverlayLayerProperty { layername: string; url: string; index?: number; isGeoJson?: boolean; maxLevel?: number; minLevel?: number; opacity?: number; pointSetting?: { allowOverlapping?: boolean; fadeEffect?: boolean; fontLabel?: string; fontTable?: { [
fontLabel:
string]
: { font?: string; fontBorderColor?: CSSColorHex; fontBorderSize?: number; fontColor?: CSSColorHex; fontSize?: number; groundLineColor?: CSSColorHex; groundLineWidth?: number; pullUpY?: number; pullUpYUnit?: number; }; }; textLabel?: string; }; polygonSetting?: { colorLabel?: string; colorTable?: { [
colorLabel:
string]
: { boundaryColor?: CSSColorHex; boundaryWidth?: number; fillColor?: CSSColorHex; }; }; }; polylineSetting?: { colorLabel?: string; colorTable?: { [
colorLabel:
string]
: { color?: CSSColorHex; }; }; dashScale?: number; lineWidthScale?: number; simpleDraw?: boolean; widthLabel?: number; }; show?: boolean; urlTemplate?: string; visibleFactor?: number; } Properties
layername
layername: string
url
url: string
Optional
index
index?: number
Optional
isGeoJson
isGeoJson?: boolean
Optional
maxLevel
maxLevel?: number
Optional
minLevel
minLevel?: number
Optional
opacity
opacity?: number
Optional
pointSetting
pointSetting?: { allowOverlapping?: boolean; fadeEffect?: boolean; fontLabel?: string; fontTable?: { [
fontLabel:
string]
: { font?: string; fontBorderColor?: CSSColorHex; fontBorderSize?: number; fontColor?: CSSColorHex; fontSize?: number; groundLineColor?: CSSColorHex; groundLineWidth?: number; pullUpY?: number; pullUpYUnit?: number; }; }; textLabel?: string; } Type declaration
Optional
allowOverlapping?: boolean
Optional
fadeEffect?: boolean
Optional
fontLabel?: string
Optional
fontTable?: {
[fontLabel: string]: {
font?: string;
fontBorderColor?: CSSColorHex;
fontBorderSize?: number;
fontColor?: CSSColorHex;
fontSize?: number;
groundLineColor?: CSSColorHex;
groundLineWidth?: number;
pullUpY?: number;
pullUpYUnit?: number;
};
}
[fontLabel: string]: {
font?: string;
fontBorderColor?: CSSColorHex;
fontBorderSize?: number;
fontColor?: CSSColorHex;
fontSize?: number;
groundLineColor?: CSSColorHex;
groundLineWidth?: number;
pullUpY?: number;
pullUpYUnit?: number;
}
Optional
font?: string
Optional
fontBorderColor?: CSSColorHex
Optional
fontBorderSize?: number
Optional
fontSize?: number
Optional
groundLineColor?: CSSColorHex
Optional
groundLineWidth?: number
Optional
pullUpY?: number
Optional
pullUpYUnit?: number
Optional
textLabel?: string
Optional
polygonSetting
polygonSetting?: { colorLabel?: string; colorTable?: { [
colorLabel:
string]
: { boundaryColor?: CSSColorHex; boundaryWidth?: number; fillColor?: CSSColorHex; }; }; } Type declaration
Optional
colorLabel?: string
Optional
colorTable?: {
[colorLabel: string]: {
boundaryColor?: CSSColorHex;
boundaryWidth?: number;
fillColor?: CSSColorHex;
};
}
[colorLabel: string]: {
boundaryColor?: CSSColorHex;
boundaryWidth?: number;
fillColor?: CSSColorHex;
}
Optional
boundaryColor?: CSSColorHex
Optional
boundaryWidth?: number
Optional
polylineSetting
polylineSetting?: { colorLabel?: string; colorTable?: { [
colorLabel:
string]
: { color?: CSSColorHex; }; }; dashScale?: number; lineWidthScale?: number; simpleDraw?: boolean; widthLabel?: number; } Type declaration
Optional
colorLabel?: string
Optional
colorTable?: {
[colorLabel: string]: {
color?: CSSColorHex;
};
}
Optional
dashScale?: number
Optional
lineWidthScale?: number
Optional
simpleDraw?: boolean
Optional
widthLabel?: number
Optional
show
show?: boolean
Optional
urlTemplate
urlTemplate?: string
Optional
visibleFactor
visibleFactor?: number
新增VectorTile疊加圖層參數。