简体   繁体   English

在Android应用中添加谷歌地图方向

[英]Add google maps directions within android app

I want to implement the below card (with drive/transit images used by the google maps application). 我想实现以下卡(使用谷歌地图应用程序使用的驱动器/传输图像)。 When the drive icon is clicked i want to implement the maps showing the driving directions within my app itself. 单击驱动器图标后,我想实现显示应用程序本身内行车路线的地图。 I have read through the documentation but i am not sure if it is even possible. 我已阅读文档,但我不确定它是否可行。 Kindly help. 请帮助。

在此输入图像描述

Its possible to make driving direction in android google map using polyline. 它可以使用折线在android谷歌地图中制作驾驶方向。

Check this link. 检查此链接。

http://www.androidtrainee.com/drawing-driving-route-directions-between-two-locations-using-google-directions-in-google-map-android-api-v2/ http://www.androidtrainee.com/drawing-driving-route-directions-between-two-locations-using-google-directions-in-google-map-android-api-v2/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM