here-apihere-maps-rest

How to get distance from one origin to multiple destination (Direct distance) with HERE MAP REST API


I'm using the matrix calculation, but it gives me real driving distance. I'm wondering is there another REST api can calculate distance from one origin to multiple distance? I don't need real driving distance, just approximate distance is fine for my app. Thank you!


Solution

  • Here's a formula that helps you calculate distances for latitudes and longitudes, you can use HERE Geocoding API to get lat/long for an address and without making a call, calculate this yourself.