UNPKG

geoserver-api-reader

Version:
105 lines 2.83 kB
export default class GetLegendGraphic { constructor({ capa, espacioDeTrabajo }: { capa: any; espacioDeTrabajo: any; }); _servicio: string; _version: string; _respuesta: string; _formato: string; _transparente: boolean; _alto: number; _ancho: number; _estilo: null; _capa: any; _filtro: null; _legendOptions: LegendOptions; /** * @param {string} */ set filtro(cql: null); get filtro(): null; /** * Recibe cómo parámetro el nombre del sld que se requiere aplicar a la capa * @param {string} sld_name */ set estilo(sld_name: string); /** * @param {array} */ set dimensiones([ancho, alto]: any[]); get parametros(): { service: string; version: string; request: string; format: string; layer: any; transparent: boolean; height: number; width: number; legend_options: string; style: null; cql_filter: null; }; get parametrosEnFormatoURL(): string; get legendOptions(): LegendOptions; get legendOptionsObj(): any; } /** * doc: https://github.com/geoserver/geoserver/blob/main/doc/en/user/source/services/wms/get_legend_graphic/index.rst */ declare class LegendOptions { _fontName: string; _fontStyle: string; _fontSize: number; _fontColor: string; _fontAntiAliasing: boolean; _bgColor: any; _dpi: any; _forceLabels: any; _forceTitles: any; _labelMargin: number; _layout: any; _columnheight: any; _rowwidth: any; _columns: any; _rows: any; _grouplayout: any; _countMatched: any; _hideEmptyRules: boolean; _wrap: any; _wrap_limit: any; get asObj(): { fontName: string; fontStyle: string; fontSize: number; fontColor: string; fontAntiAliasing: boolean; labelMargin: number; hideEmptyRules: boolean; dy: number; }; /** (integer) * nos permite establecer el tamaño de fuente para los distintos * elementos de texto. Tenga en cuenta que el tamaño predeterminado * en geoserver es 12. * @param {number} size */ set fontSize(size: number); /** (hex) * nos permite establecer el color para el texto de las reglas y * etiquetas (ver arriba para recomendaciones sobre cómo crear valores). * Los valores se expresan en formato 0xRRGGBB * @param {string} color */ set fontColor(color: string); /** (true/false) * Cuando se establece en true, oculta las reglas que no coinciden * con ninguna característica. * @param {boolean} val */ set hideEmptyRules(val: boolean); get asText(): string; } export {}; //# sourceMappingURL=GetLegendGraphic.d.ts.map