检查特定位置是否落在两个位置之间的路径上

check if a particular location falls on the path between two locations

如何检查特定位置 (LatLng) 是否落在连接两个已给定位置之间的路径上。

使用为 android 指定的 google 方向 API 获取这些位置之间的路径。

您可以使用这个 Google 地图开源库 android-maps-utils

有这样的方法