0
以优步为例。我如何获得实时导航功能?如何将GoogleMaps嵌入到移动应用程序中进行实时导航?
思考
从航点API经/纬度航点的获取列表:https://developers.google.com/maps/documentation/directions/intro#Waypoints
使用步骤#1坐标绘制折线:https://developers.google.com/maps/documentation/android-api/shapes#code_samples
但是,这基本上会重新实现GoogleMaps应用。如果用户离开路径,我将不得不调整折线等。
是否可以嵌入实时路线?
您可能希望查看Google地图的服务条款,以查看您要执行的操作是否属于这些条款。 – CommonsWare
我希望的功能至少是优步实现的。然而,优步可能与谷歌有单独的TOS协议。 –
我同意CommonsWare,请参阅http://stackoverflow.com/a/26231295/1282637 – user1282637