import type { LatLngLiteral } from '../map/lat-lng'; /** * 球面两点之间距离(米) * @param p1 * @param p2 */ declare function getDistance(p1: LatLngLiteral, p2: LatLngLiteral): number; /** * 已知一点经纬度,方位角,距离求另一点 * @param pt 点 * @param angle 角度 * @param dist 距离 */ export declare function getDestination(pt: LatLngLiteral, angle: number, dist: number): LatLngLiteral; /** * 球面工具 * * 代码copy自[CityBus-vue-admin](https://github.com/TranscodeGroup/CityBus-vue-admin/blob/8b8db7e23e94423747141084eb78ce3331965a4c/src/utils/index.js#L773), 实现似乎有些问题 * @deprecated 使用{@link SphericalUtil}替代 */ export declare const SphericalUtils: { /** @deprecated Use {@link SphericalUtil.computeDistanceBetween} instead */ getDistance: typeof getDistance; /** @deprecated Use {@link SphericalUtil.computeOffset} instead */ getDestination: typeof getDestination; }; export {}; //# sourceMappingURL=spherical-utils.d.ts.map