-
Notifications
You must be signed in to change notification settings - Fork 918
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
export type LngLatTuple = [number, number] | ||
/** @deprecated 换用小驼峰风格命名 */ | ||
export declare function bd09togcj02(lng: number, lat: number): LngLatTuple | ||
/** @deprecated 换用小驼峰风格命名 */ | ||
export declare function gcj02tobd09(lng: number, lat: number): LngLatTuple | ||
/** @deprecated 换用小驼峰风格命名 */ | ||
export declare function wgs84togcj02(lng: number, lat: number): LngLatTuple | ||
/** @deprecated 换用小驼峰风格命名 */ | ||
export declare function gcj02towgs84(lng: number, lat: number): LngLatTuple | ||
/** 原始的 BD09 => Gcj02 */ | ||
export declare function rawBd09ToGcj02(lng: number, lat: number): LngLatTuple | ||
/** 原始的 Gcj02 => Bd09 */ | ||
export declare function rawGcj02ToBd09(lng: number, lat: number): LngLatTuple | ||
/** 原始的 Wgs84 => Gcj02 */ | ||
export declare function rawWgs84ToGcj02(lng: number, lat: number): LngLatTuple | ||
/** 原始的 Gcj02 => Wgs84 */ | ||
export declare function rawGcj02ToWgs84(lng: number, lat: number): LngLatTuple | ||
|
||
/** BD09 => GCJ02 */ | ||
export declare function bd09ToGcj02(lng: number, lat: number): LngLatTuple | ||
/** GCJ02 => BD09 */ | ||
export declare function gcj02ToBd09(lng: number, lat: number): LngLatTuple | ||
/** WGS84 => GCJ02 */ | ||
/** WGS84 => GCJ02 (判断了中国范围) */ | ||
export declare function wgs84ToGcj02(lng: number, lat: number): LngLatTuple | ||
/** GCJ02 => WGS84 */ | ||
/** GCJ02 => WGS84 (判断了中国范围) */ | ||
export declare function gcj02ToWgs84(lng: number, lat: number): LngLatTuple | ||
/** | ||
* BD09 => WGS84 | ||
* BD09 => WGS84 (判断了中国范围) | ||
* 是使用其他方法"拼"出来的, 误差较大 | ||
*/ | ||
export declare function bd09ToWgs84(lng: number, lat: number): LngLatTuple | ||
/** | ||
* WGS84 => BD09 | ||
* WGS84 => BD09 (判断了中国范围) | ||
* 是使用其他方法"拼"出来的, 误差较大 | ||
*/ | ||
export declare function wgs84ToBd09(lng: number, lat: number): LngLatTuple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters