1.0.9 • Published 10 months ago

coordinate-transform v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
10 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

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago