Search code examples
google-mapsgoogle-maps-api-3google-maps-api-2google-earth-plugin

Displaying 3D routes in Google maps


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.

I need to display a 3D route like this to the visitor

Thanks in advance!


Solution

  • 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