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 OpenLayers上的谷歌方向_Google Maps_Openlayers_Map Directions - Fatal编程技术网

Google maps OpenLayers上的谷歌方向

Google maps OpenLayers上的谷歌方向,google-maps,openlayers,map-directions,Google Maps,Openlayers,Map Directions,我是OpenLayers的超级粉丝。我唯一缺少的就是方向 由于谷歌地图支持方向,我想将其与OpenLayers集成 是否可以使用google maps api获取从A点到B点的方向(支持航路点?),然后显示在我的地图上(作为额外的矢量层?google maps不支持方向。你必须使用谷歌方向API来获得方向指示。至于在谷歌地图上显示方向,这是可以做到的。前往本站 或: 阅读更多。我不是在谷歌地图上搜索gmap方向集成,而是作为openlayers矢量层。链接的帖子都描述了谷歌地图上的方向……对

我是OpenLayers的超级粉丝。我唯一缺少的就是方向

由于谷歌地图支持方向,我想将其与OpenLayers集成


是否可以使用google maps api获取从A点到B点的方向(支持航路点?),然后显示在我的地图上(作为额外的矢量层?

google maps不支持方向。你必须使用谷歌方向API来获得方向指示。至于在谷歌地图上显示方向,这是可以做到的。前往本站

或:


阅读更多。

我不是在谷歌地图上搜索gmap方向集成,而是作为openlayers矢量层。链接的帖子都描述了谷歌地图上的方向……对不起,我不知道如何使用openlayers矢量层。