1.0.9 • Published 4 months ago

coordinate-transform v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

coordinate-transform

一个坐标系转换类库,支持 WGS-84、GCJ-02、BD-09 坐标系之间的转换。

说明: 本仓库仅是对 coordtransform TS 版本进行封装,仅供学习参考。

安装

npm i coordinate-transform

使用

import { wgs84togcj02, gcj02towgs84, gcj02tobd09, bd09togcj02, wgs84tobd09, bd09towgs84 } from 'coordinate-transform';

console.log(wgs84togcj02(116.413767089844, 39.905432400174));
1.0.9

4 months ago

1.0.8

4 months ago

1.0.7

4 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago