当前位置: 动力学知识库 > 问答 > 编程问答 >

xml - Google Directions API One Way instead of Origin and Destination

问题描述:

I'm using google's directions API to solve TSP. Is there any way to take advantage of google's route optimization without providing an origin AND destination. For my purposes, I only care to set the origin. The destination can be whatever is best fit for the waypoints given.

i.e.

https://maps.googleapis.com/maps/api/directions/xml?origin=A&destination=""&waypoints=optimize:true|C|D|E|F&key=XXXX

分享给朋友:
您可能感兴趣的文章:
随机阅读: