furkot-elevation

Elevation service for Furkot

Usage no npm install needed!

<script type="module">
  import furkotElevation from 'https://cdn.skypack.dev/furkot-elevation';
</script>

README

NPM version Build Status Dependency Status Dev 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 ] ,
  // ...
];

elevation(points, function(err, result) {
  // 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