npm.io
1.0.1 • Published 5 years ago

furkot-elevation

Licence
MIT
Version
1.0.1
Deps
3
Size
13 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

NPM version Build Status Dependency Status

@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);

License

MIT Damian Krzeminski

Keywords