Is it possible to use Kony map API to calculate the distance between 2 points?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi everyone, I need to calculate the distance between 2 points should I just call an external API such as Google Distance Matrix API or Kony offers an in built solution?

Hi,

You can get the distance between two locations on map using kony.map.distanceBetween API. For more details go through below documentation:

http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/Default.htm#kony_map_functions.htm#distance%3FTocPath%3DMap%2520API%7Ckony.map%2520Namespace%7CFunctions%7C_____2