Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google maps 在两个坐标(纬度,长度)之间查找方向的web Google URL是什么?_Google Maps_Url - Fatal编程技术网

Google maps 在两个坐标(纬度,长度)之间查找方向的web Google URL是什么?

Google maps 在两个坐标(纬度,长度)之间查找方向的web Google URL是什么?,google-maps,url,Google Maps,Url,我试图通过传递4个点在浏览器中打开谷歌地图。启动google maps以输入起始坐标和结束坐标的方案是什么?虽然没有官方文档,但目前它可以: https://www.google.de/maps/dir/origin_lat,origin_lng/destination_lat,destination_lng/ e、 芝加哥到底特律: 您也可以使用以下地址: https://www.google.de/maps/dir/origin_address/destination_address/

我试图通过传递4个点在浏览器中打开谷歌地图。启动google maps以输入起始坐标和结束坐标的方案是什么?

虽然没有官方文档,但目前它可以:

https://www.google.de/maps/dir/origin_lat,origin_lng/destination_lat,destination_lng/
e、 芝加哥到底特律:

您也可以使用以下地址:

https://www.google.de/maps/dir/origin_address/destination_address/

它没有正式的文档记录,但目前它是有效的:

https://www.google.de/maps/dir/origin_lat,origin_lng/destination_lat,destination_lng/
e、 芝加哥到底特律:

您也可以使用以下地址:

https://www.google.de/maps/dir/origin_address/destination_address/

此Google API的URL参数为目的地和来源地,您可以在此处使用地址或坐标作为值:

https://www.google.com/maps/embed/v1/directions?origin=sydney&destination=sydney&key=...

但是请注意,对于此服务,您需要一个API密钥。使用javascript API时,您不需要API密钥,至少在没有太多流量的情况下是这样。

此Google API的URL参数是目的地和来源,在这里您可以使用地址或坐标作为值:

https://www.google.com/maps/embed/v1/directions?origin=sydney&destination=sydney&key=...
但是请注意,对于此服务,您需要一个API密钥。使用javascript API时,您不需要API密钥,至少在没有太多流量的情况下