dat-ng / ar-location-based-android

This AR app generally show where things are in the real-world by indicating where the app thinks they are over the camera view when the user holds the phone up and moves it about.
MIT License
206 stars 85 forks source link

Draw Path to ARPoint from current Location #15

Open shehanmkg opened 6 years ago

shehanmkg commented 6 years ago

Thanks for this great work and this so much help for my work. Is there a way to draw the path to apoint likes on google map?

LaQuay commented 6 years ago

@ShehanMadushanka Check this, it can help you. https://code.tutsplus.com/tutorials/android-sdk-augmented-reality-location-distance--mobile-8004

Edit: Also, you can just have 2 points and then draw a line instead of a circle. Inside AROverlayView.java, onDraw(). Then just get two points instead of one inside the loop, and draw it with a line.