Appearance
Documentation / @geoverse/core-libre / gcj02
Variable: gcj02
ts
const gcj02: {
fromWGS84: (input, output?, dimension?) => number[];
toWGS84: (input, output?, dimension?) => number[];
};Defined in: packages/core-libre/src/coords/math.ts:234
WGS-84 ↔ GCJ-02(高德加偏)经纬度互转
Type Declaration
fromWGS84
ts
fromWGS84: (input, output?, dimension?) => number[];Parameters
input
number[]
output?
number[]
dimension?
number
Returns
number[]
toWGS84
ts
toWGS84: (input, output?, dimension?) => number[];Parameters
input
number[]
output?
number[]
dimension?
number
Returns
number[]
