Google Earth integrated with Google Maps API v3?
Asked Answered
O

4

12

I'm trying to integrate Google Earth into Google Maps, and I saw it was possible in v2. But I can't find any doc about how to do so with v3.

Oppress answered 14/6, 2010 at 17:5 Comment(1)
I would also like to know how to do it...Eventuality
D
11

Unfortunately, this is not yet implemented in Google Maps API v3, see the corresponding ticket.

Please note, the more stars a ticket has, the sooner it will be taken care of.

Dayak answered 29/6, 2010 at 12:59 Comment(0)
A
7

Just a note that there is now an unofficial library at http://code.google.com/p/google-maps-utility-library-v3/ (trunk at http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/)

Arturoartus answered 13/4, 2011 at 0:43 Comment(3)
You just have to use this javascript (check example folder) code.google.com/p/google-maps-utility-library-v3/source/browse/…Rowley
Doesn't work for me. Error: google[C] is undefined in googleearth-compiled.jsArminius
Does the demo work for you at google-maps-utility-library-v3.googlecode.com/svn/trunk/… ? It uses that code, and gives me no errors. If you have troubles what browser and operating system are you using?Arturoartus
U
1

Here's my offering: https://github.com/myshen/google-maps-v3-earth-map-type.

It's not from Google but it does do a little more out of the box:

  • Links polygons, rectangles, circles, kml, in addition to markers.
  • Links mouse events (click, drag, over, out).
Uprise answered 10/9, 2011 at 5:2 Comment(0)
H
0

I've been trying to port [jlivni]'s code to OpenLayers and have setup a GitHub project for that (1).

Now you can see a demo with Google Maps on one side and Google Earth on the other side: http://ziglionz.github.com/GoogleEarth-for-OpenLayers/ol.html

Currently the library supports only unstyled placemarks but it shouldn't be too hard to support other features.

The demo also sports a timeline for OpenLayers, that's part of another project (2).

Heath answered 15/3, 2012 at 22:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.