/** * @author: xd * @Date: 2022-01-13 22:43:45 * @LastEditors: xd * @LastEditTime: 2022-12-10 16:59:14 * @Description: 功能 */ import { baseGraphicLayer } from "../../base/baseGraphicLayer"; import { IGraphicLayerOption } from "../../base/baseOptionType"; export declare class kmlLayer extends baseGraphicLayer { styleOptions: { Font: string; FontColor: string; FontStrokeColor: string; FontStrokeWidth: number; FontoffsetX: number; FontoffsetY: number; fillcolor: string; strokecolor: string; strokewidth: number; radius: number; scale: number; text: string; }; constructor(layerid: any, options: IGraphicLayerOption); /** * 设置所有要素样式 * @description: * @param {any} styleOptions * @example styleOptions 内容 * { Font: "12px Microsoft YaHei", FontColor: "#8B4513", FontStrokeColor: "#fff", FontStrokeWidth: 2, FontoffsetX: 0, FontoffsetY: -10, fillcolor: "rgba(0, 153, 255,1)", strokecolor: "rgba(255, 255, 255,1)", // 通过要素拿到具体的值 strokewidth: 1, radius: 10, scale: 1, text: "标注示例" //可以用{字段名}格式化显示字段 } */ setSymbol(styleOptions: any): void; }