Licence
MIT
Version
3.0.0
Deps
2
Size
10 kB
Vulns
0
Weekly
0
@furkot/elevation
Elevation service for Furkot
Install
$ npm install --save @furkot/elevation
Usage
const furkotElevation = require('@furkot/elevation');
const elevation = furkotElevation(options);
const points = [
[ lon, lat ] ,
// ...
];
const result = await elevation(points);
// result is an Array of elevations in meters
// elevation Array items corresponds to the items in points array
assert.equal(result.length, points.length);