简体   繁体   中英

How I can integrate google maps AR navigation within the android app?

I want to integrate the google map AR navigation in the Android app programmatically. Please help me if someone has any idea regarding this.

Live View (AR navigation) is only available within the Google Maps app. If you want to present Live View within your app, you could submit a Maps SDK for Android feature request for adding Live View navigation.

You can also use Google Maps Intents to open turn-by-turn navigation in the Google Maps app from your app, but there is no parameter to specify activating Live View so the user would have to locate and tap the Live View button once in Google Maps. If you would like to be able to launch Live View navigation in the Google Maps app from your app, you could submit a Maps URLs feature request for adding a Live View mode parameter.

In the meantime, here's a codelab teaching how to present nearby places in AR with ARcore alongside a map in your Android apps. You could use the skills taught in it and combine with the Directions API to construct your own AR navigation experience.

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