【文件属性】:
文件名称:GeoCoordinate:用于创建和使用 GeoCoordinates 的实用程序库
文件大小:107KB
文件格式:ZIP
更新时间:2021-08-03 15:33:33
JavaScript
地理坐标
用于创建和使用 GeoCoordinates 的实用程序库
描述
一个小库,可帮助您使用地理空间坐标完成任务。
安装
npm install geocoordinate
用法
const {
GeoCoordinate ,
BoundingBox
} = require ( 'geocoordinate' ) ;
const brandenburgerTor = new GeoCoordinate ( [ 52.51626877497768 , 13.377935641833488 ] ) ;
const coord200mToNorth = brandenburgerTor . pointAtDistance ( 200 , 0 ) ; // instance of GeoCoordinate: { coordinate: [ 52.51806741818
【文件预览】:
GeoCoordinate-master
----.eslintrc(343B)
----.jsdoc.json(595B)
----benchmark()
--------index.js(2KB)
--------generate-data.js(1KB)
----renovate.json(70B)
----package.json(1KB)
----.github()
--------workflows()
----test()
--------coordinate.test.js(7KB)
--------boundingbox.test.js(8KB)
----.prettierrc(42B)
----LICENSE(1KB)
----package-lock.json(429KB)
----.npmignore(24B)
----.gitignore(614B)
----lib()
--------coordinate.js(8KB)
--------index.js(119B)
--------boundingbox.js(7KB)
----README.md(4KB)