npm publish

This commit is contained in:
wandergis
2015-11-18 00:00:41 +08:00
parent 2e51845c2b
commit e4f2db2be1
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
# coordtransform 坐标转换
=========
****
一个提供了百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换的工具模块
### 安装(install
@@ -10,7 +10,7 @@ npm install coordtransform
### 示例用法(Example&Usage
1. NodeJs用法
1 NodeJs用法
```
//国测局坐标(火星坐标,比如高德地图在用),百度坐标,wgs84坐标(谷歌国外以及绝大部分国外在线地图使用的坐标)
@@ -33,7 +33,7 @@ console.log(gcj02towgs84);
//wgs84togcj02: [ 116.41024449916938, 39.91640428150164 ]
//gcj02towgs84: [ 116.39775550083061, 39.91359571849836 ]
```
2. 浏览器用法
2 浏览器用法
直接引用目录内的index.js,会有一个coordtransform的全局对象暴露出来,也支持用AMD加载器加载
```
+3 -3
View File
@@ -1,7 +1,7 @@
{
"name": "coordtransform",
"version": "1.0.0",
"description": "'A module that can transform wgs84、bd09、gcj02 between each otherA tool module that can be converted between common coordinate systems'",
"version": "1.0.1",
"description": "A tool module that can be converted between common coordinate systems,if you are chinese maybe you will like it!",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
@@ -18,7 +18,7 @@
"transform"
],
"author": "wandergis",
"license": "ISC",
"license": "MIT",
"bugs": {
"url": "https://github.com/wandergis/coordtransform/issues"
},