我尝试使用打印选项在谷歌地图中使用传输模式在特定时间搜索地点。所以我使用谷歌地图EMBED API。我所取得的成就是我可以在传输模式下搜索具有原点和目的地参数的地点。我无法做的是在特定时间搜索。关于时间的官方文档中没有参数。供参考ng-jq="whateverYouCallIt"
array(2) {
[0]=>
array(5) {
[0]=>
string(169) "19. Which of the following conflicting criteria does the problem below satisfe. 2.1 C++ pointers are powerful and very flexible but at the cost of poor intelligibility.
"
[1]=>
string(32) "a. Writability vs Readability
"
[2]=>
string(38) "b. Reliability vs Cost of execution
"
[3]=>
string(32) "c. Writability vs Reliability
"
[4]=>
string(39) "d. Cost of execution vs. Readability
"
}
[1]=>
array(5) {
[0]=>
string(168) "19. Which of the following conflicting criteria does the problem below satisfe. 2.1 C++ pointers are powerful and very flexible but at the cost of poor intelligibility."
[1]=>
string(31) "a. Writability vs Readability"
[2]=>
string(37) "b. Reliability vs Cost of execution"
[3]=>
string(31) "c. Writability vs Reliability"
[4]=>
string(38) "d. Cost of execution vs. Readability"
}
}
答案 0 :(得分:1)
我认为Embed API和Static Maps API都不提供该功能。
您可以使用具有类似格式的server side Google Directions API来获取该信息,除了您的嵌入式API,
或者你应该切换到Javascript API。您应该可以使用Transit Options
执行此操作答案 1 :(得分:0)
正如您在文档中没有注意到的那样,旅行时间路由不是受支持的功能。