Displaying 3D routes in Google maps
-
27-10-2019 - |
سؤال
I want user to be able to enter source/destination and take a virtual tour of the route. PHP is my preferred solution. I am not sure where to start from. I do not have much experience with Google map 3D APIs so need some pointers.
I need something that is similar to Google maps's Helicopter view feature. Gives a bird's eye tour of your route.
Thanks in advance!
المحلول
You will want to use Javascript, which powers the Google Earth API
Check out the examples at the code playground, especially how to create a line string (for your route) and how to move the camera
لا تنتمي إلى StackOverflow