google_earth_3d
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| — | google_earth_3d [2024/05/27 06:14] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ======= Google Earth 3D ====== | ||
| + | |||
| + | < | ||
| + | <script src=" | ||
| + | type=" | ||
| + | |||
| + | |||
| + | <div id=" | ||
| + | <div id=" | ||
| + | |||
| + | < | ||
| + | |||
| + | var ge = null; | ||
| + | var lookAt = null; | ||
| + | |||
| + | function myEventListener() { | ||
| + | var lookAt = ge.getView().copyAsLookAt(ge.ALTITUDE_RELATIVE_TO_GROUND); | ||
| + | document.getElementById(" | ||
| + | } | ||
| + | |||
| + | function getEarthInstanceCB(object) { | ||
| + | ge = object; | ||
| + | // You can now manipulate ge using the full Google Earth API. | ||
| + | google.earth.addEventListener(ge.getWindow(), | ||
| + | ge.getWindow().setVisibility(true); | ||
| + | setTimeout(function() { | ||
| + | var lookAt = ge.getView().copyAsLookAt(ge.ALTITUDE_RELATIVE_TO_GROUND); | ||
| + | lookAt.setTilt(80); | ||
| + | ge.getView().setAbstractView(lookAt) | ||
| + | }, 2); | ||
| + | } | ||
| + | |||
| + | var map = new GMap2(document.getElementById(" | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | |||
| + | </ | ||
