如何使用Python中的Google Maps API从行程中获取航路点的地理定位

2024-07-07 06:25:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用Google API获取带有Google地图包功能方向的行程:

  myItineraire = gmaps.directions(liste[i]['adresse']['domicile'], 
  chant['adresse'],mode=str(myMode[j]), region='FR', departure_time=now, 
  language='fr', traffic_model='pessimistic')

我想知道这条路线的航路点的地理位置


Tags: 功能apimodegoogle方向行程gmapsstr