Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/google-maps/4.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 将Google地图方向API与Google驱动器脚本一起使用_Google Maps_Google Api - Fatal编程技术网

Google maps 将Google地图方向API与Google驱动器脚本一起使用

Google maps 将Google地图方向API与Google驱动器脚本一起使用,google-maps,google-api,Google Maps,Google Api,我正试图在我的谷歌硬盘脚本中使用一些更高级的谷歌地图方向API功能。我注册了一个开发者密钥,但是当查看Google驱动脚本中的Resources->Advanced Google Services菜单时,那里没有列出directions API。我还没有找到另一种方法来启用这些关键/功能。Appscript文档的页面中指出,如果它没有列在参考资料->高级Google服务中,您仍然可以调用它们。文档表明您必须使用URLFetchApp类调用服务

我正试图在我的谷歌硬盘脚本中使用一些更高级的谷歌地图方向API功能。我注册了一个开发者密钥,但是当查看Google驱动脚本中的Resources->Advanced Google Services菜单时,那里没有列出directions API。我还没有找到另一种方法来启用这些关键/功能。

Appscript文档的页面中指出,如果它没有列在
参考资料->高级Google服务中,您仍然可以调用它们。文档表明您必须使用
URLFetchApp
类调用服务