import { VTImageryOptions } from '../vtlayer/VTImageryProvider'; import { VectorTile } from '@mapbox/vector-tile'; /** * 请求加载矢量切片元数据 * @param url * @returns */ declare function loadVTileJson(url: string): Promise; /** * 针对tippcano的metadata.json的构建矢量切片图层 * @param jsonObj */ declare function createFromMetadata(jsonObj: any, url: string, layerid: string, styleObject: any): VTImageryOptions; declare function createFromTilejson(jsonObj: any, layerid: string, styleObject: any, url: string): VTImageryOptions; declare function buildTileURLParams(urltemplate: string, x: number, y: number, level: number): { tileURL: string; tileKey: string; requestedTile: { x: number; y: number; level: number; }; }; /** * 解析MVT瓦片 * @param url * @returns */ declare function doParseTile(url: string): Promise; declare function getFeatureLabelOption(styleOption: any, attributes: any, filterField: any, vtStyle: any): any; /** * 将XY瓦片转为Rectangle * @param tilingScheme * @param requestedTile * @returns */ export { buildTileURLParams, createFromMetadata, createFromTilejson, doParseTile, getFeatureLabelOption, loadVTileJson, };