Distance Calculations Between Points With the HERE JavaScript SDK

When I’m interacting with developers using HERE APIs and services, one common question I get is around distance calculations. The HERE SDK and APIs make it easy to calculate paths or routes, but it isn’t the most obvious if you want to pull the total distance from those calculations. In fact, there are multiple different distances that can be obtained.
As a developer, you could be searching for the distance between two points regardless of roadways. Take, for example, air travel or similar for that type of distance. You could also be searching for the distance between two points along a route that can be navigated. Think your GPS when you’re driving or similar for that type of distance.

Link: https://dzone.com/articles/distance-calculations-between-points-with-the-here?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev