xframelib
Version:
The accumulated front-end development foundation library originates from projects and serves projects.
32 lines (31 loc) • 788 B
TypeScript
export { toBytes, toString, encrypt, encryptToString, decrypt, decryptToString } from '../utils/XXTEA';
/**
* 差集
* @param a
* @param b
* @returns
*/
export declare function getMinus(a: any[], b: any[]): any[];
/**
* 交集
* @param a
* @param b
*/
export declare function getIntersect(a: any[], b: any[]): any[];
/**
* 以前端切片方式加载大图片,只支持图片格式 jpg\png 不支持tif
* @param imageID
* @param imageUrl
* @param imageGeoBounds
* @param maxUnitSize
* @returns
*/
export declare function loadBigImage(imageID: string, imageUrl: string, imageGeoBounds: number[], maxUnitSize?: number): Promise<{
id: string;
width: number;
height: number;
maxUnitSize: number;
colNum: number;
rowNum: number;
items: any[];
}>;