Reputation: 2046
I'm evaluating options for a 3d globe viewer that doesn't require any download/install. As an alternative to Cesium.js, I'm also taking a look at Google Maps Js API v3.
Recently I've noticed that WebGL enabled browsers seem to be able to switch into Earth view in Google Maps - without the plugin?
This is not to be confused with the 45° View, which is still fairly limited in its coverage.
Here's a screenshot of Sydney in Google Maps using the Tilt control (seen in bottom right corner, once you select Earth view):
How can I implement this functionality? I can't seem to find it documented anywhere, is this not released in the JS API yet?
Even if you try the embed code for this (iframe) the Earth View is replaced by Satellite?
I basically just want the user to be able to control the pitch/heading?
Upvotes: 9
Views: 7000
Reputation: 1147
Since Google has many map engines, and most of them they are getting rid of at the end-of-2015 and early 2016, its a bit complicated following their press and developer releases.
As I understand it, what is available on their own online "maps.google.com" site:
However, for "Google Maps Javascript API V3":
For my own purposes, I'm still successfully using (at December 2015) the Google Maps Javascript API to Google Earth plugin adapter code that Google published.
Various supporting articles ( I can only post 2 links at my reputation level):
http://www.google.com/earth/outreach/tutorials/mapseng_lite.html
https://groups.google.com/forum/#!topic/google-maps-engine-users/IfqS90d8f0A
Upvotes: 12