【文件属性】:
文件名称:geohash-coordinates:找出有关日期刻度或全球日期的信息
文件大小:38KB
文件格式:ZIP
更新时间:2021-05-04 19:53:41
JavaScript
地理哈希坐标
找到一天和位置的哈希哈希坐标。
我将其用于 。
安装
npm install geohash-coordinates
用法
import geohash from 'geohash-coordinates'
geohash . graticule ( {
date : '2015-03-27' ,
location : '34.123,-111.456'
} , ( err , result ) => {
console . log ( result ) // [ 34.520364031734495, -111.75641517793687 ]
} )
geohash . global ( {
date : '2008-09-10'
} , ( err , result ) => {
console . log ( result ) // [ -42
【文件预览】:
geohash-coordinates-master
----.travis.yml(104B)
----.babelrc(27B)
----package.json(1KB)
----test()
--------index.js(6KB)
--------fixtures.json(465B)
----LICENSE(1KB)
----package-lock.json(153KB)
----src()
--------index.js(7KB)
----.gitignore(547B)
----README.md(3KB)