Calculate distance in meters between two points

后端 未结 1 1617
温柔的废话
温柔的废话 2020-12-22 13:20

I\'m making a delivery site and I need to calculate the distance between two points and set a minimum price and multiply every 100 meters. How can this be done?

1条回答
  •  借酒劲吻你
    2020-12-22 13:57

    If you want the driving distance (and you are displaying a Google Map), you can use the directions service or the directions matrix

    0 讨论(0)
提交回复
热议问题