/** * Some of the code borrows from MAPV * https://github.com/huiyan-fe/mapv/blob/3292c7c25dbbf29af3cf7b3acb48108d60b3eed8/src/utils/curve.js */ type coordItem = { lng: number; lat: number; }; /** * 计算一条曲线 * @param points 点结合:经纬度 * @param options 每一段 多少个点 * @returns */ export default function curve(points: Array, options?: { count?: number; }): Array<[number, number]>; export {};