npm.io
3.0.0 • Published 5 months ago

@furkot/elevation

Licence
MIT
Version
3.0.0
Deps
2
Size
10 kB
Vulns
0
Weekly
0

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