简体   繁体   中英

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.

Check this link.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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