@huaiyinhcy/trans-coord
Version:
支持墨卡托(Mercator)、WGS84、高德(GCJ02)、百度(BD09)之间的坐标转换,无需调用外部接口,可在本地直接执行。
36 lines (35 loc) • 1.03 kB
JSON
{
"version": "2.0.2",
"name": "@huaiyinhcy/trans-coord",
"description": "支持墨卡托(Mercator)、WGS84、高德(GCJ02)、百度(BD09)之间的坐标转换,无需调用外部接口,可在本地直接执行。",
"homepage": "https://huaiyinhcy.github.io/monorepo/pages/packages/trans-coord.html",
"keywords": [
"坐标转换",
"墨卡托",
"WGS84",
"GCJ02",
"BD09"
],
"dependencies": {
"@turf/turf": "^7.2.0"
},
"author": "huaiyinhcy",
"repository": "https://github.com/huaiyinhcy/monorepo",
"private": false,
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
}
}