url
url: string
layername
layername: string
可選isGeoJson
isGeoJson?: boolean
可選minLevel
minLevel?: number
可選maxLevel
maxLevel?: number
可選visibleFactor
visibleFactor?: number
可選urlTemplate
urlTemplate?: string
可選show
show?: boolean
可選opacity
opacity?: number
可選pointSetting
pointSetting?: {
textLabel?: string;
fontLabel?: string;
fadeEffect?: boolean;
allowOverlapping?: boolean;
fontTable?: {
[fontLabel: string]: {
font?: string;
fontSize?: number;
fontColor?: `#${string}`;
fontBorderSize?: number;
fontBorderColor?: `#${string}`;
pullUpY?: number;
pullUpYUnit?: number;
groundLineColor?: `#${string}`;
groundLineWidth?: number;
};
};
}
類型宣告
可選textLabel?: string
可選fontLabel?: string
可選fadeEffect?: boolean
可選allowOverlapping?: boolean
可選fontTable?: {
[fontLabel: string]: {
font?: string;
fontSize?: number;
fontColor?: `#${string}`;
fontBorderSize?: number;
fontBorderColor?: `#${string}`;
pullUpY?: number;
pullUpYUnit?: number;
groundLineColor?: `#${string}`;
groundLineWidth?: number;
};
}
可選polylineSetting
polylineSetting?: {
colorLabel?: string;
widthLabel?: number;
simpleDraw?: boolean;
lineWidthScale?: number;
dashScale?: number;
colorTable?: { [colorLabel: string]: { color?: `#${string}` } };
}
類型宣告
可選colorLabel?: string
可選widthLabel?: number
可選simpleDraw?: boolean
可選lineWidthScale?: number
可選dashScale?: number
可選colorTable?: { [colorLabel: string]: { color?: `#${string}` } }
可選polygonSetting
polygonSetting?: {
colorLabel?: string;
colorTable?: {
[colorLabel: string]: {
fillColor?: `#${string}`;
boundaryColor?: `#${string}`;
boundaryWidth?: number;
};
};
}
類型宣告
可選colorLabel?: string
可選colorTable?: {
[colorLabel: string]: {
fillColor?: `#${string}`;
boundaryColor?: `#${string}`;
boundaryWidth?: number;
};
}
可選index
index?: number
新增VectorTile疊加圖層參數。