@zhousuyang/lonlat-convert
v1.0.0
Published
A simple library for converting between different coordinate systems.
Downloads
9
Maintainers
Readme
npm install @zhousuyang/lonlat-convert
ES
import { bd2gcj, gcj2bd, wgs2gcj, gcj2wgs } from '@zhousuyang/lonlat-convert';
CommonJS
const { bd2gcj, gcj2bd, wgs2gcj, gcj2wgs } = require('@zhousuyang/lonlat-convert');
Browser
<script src="./node_modules/@zhousuyang/lonlat-convert/dist/bundle.umd.js"></script>
<script>
const { bd2gcj, gcj2bd, wgs2gcj, gcj2wgs } = window.lonLat
</script>