Open a KML/KMZ/GPX local file in GE using the API (Web URL fails?)
Transform a GPX file by XSLT to a KML data string and open kmlstring in GE by API
Logging a flight path in GEarth, converting it to a path datastring and sending it back to Gearth
0 Set track duration:
Set Naviagation Mode/Click-and-Zoom or G-Force. Control/Advanced/Fly-To-Speed at 0.35 ~0.5 and viewport at Fullscreen
get coordinates
Load KML stringdata in Google Earth by loadKML(string) function
Send KML data string to GE: Clear KML data string container:
GoogleEarth API __ ____________________________________________
Library KEYHOLELib Keyhole 1.0 Type Library ____________________________ Class KHFeature element of KEYHOLELib KHFeature Class
Property hasView As Long write protected element of KEYHOLELib.KHFeature property hasView
Property visibility As Long element of KEYHOLELib.KHFeature property visibility ____________________________ Class KHInterface element of KEYHOLELib KHInterface Class
Property autopilotSpeed As Double element of KEYHOLELib.KHInterface property autopilotSpeed
Function currentView(terrain As Long) As KHViewInfo element of KEYHOLELib.KHInterface property currentView
Property currentViewExtents As KHViewExtents write protected element of KEYHOLELib.KHInterface property currentViewExtents
Function getFeatureByName(name As String) As KHFeature element of KEYHOLELib.KHInterface method getFeatureByName
Function getPointOnTerrainFromScreenCoords(screen_x As Double, screen_y As Double) As Double() element of KEYHOLELib.KHInterface method getPointOnTerrainFromScreenCoords
Sub LoadKml(kmlData As String) element of KEYHOLELib.KHInterface method LoadKml
Sub OpenFile(fileName As String) element of KEYHOLELib.KHInterface method OpenFile
Sub QuitApplication() element of KEYHOLELib.KHInterface method QuitApplication
Sub SaveScreenShot(fileName As String, quality As Long) element of KEYHOLELib.KHInterface method SaveScreenShot
Sub setFeatureView(feature As KHFeature, speed As Double) element of KEYHOLELib.KHInterface method setFeatureView
Sub SetRenderWindowSize(width As Long, height As Long) element of KEYHOLELib.KHInterface method SetRenderWindowSize
Sub setView(view As KHViewInfo, terrain As Long, speed As Double) element of KEYHOLELib.KHInterface method setView
Sub setViewParams(lat As Double, lon As Double, range As Double, tilt As Double, azimuth As Double, terrain As Long, speed As Double) element of KEYHOLELib.KHInterface method setViewParams
Property streamingProgressPercentage As Long write protected element of KEYHOLELib.KHInterface property streamingProgressPercentage ____________________________ Class KHViewExtents element of KEYHOLELib KHViewExtents Class
Property east As Double write protected element of KEYHOLELib.KHViewExtents property east
Property north As Double write protected element of KEYHOLELib.KHViewExtents property north
Property south As Double write protected element of KEYHOLELib.KHViewExtents property south
Property west As Double write protected element of KEYHOLELib.KHViewExtents property west ____________________________ Class KHViewInfo element of KEYHOLELib KHViewInfo Class
Property azimuth As Double element of KEYHOLELib.KHViewInfo property azimuth
Property latitude As Double element of KEYHOLELib.KHViewInfo property latitude
Property longitude As Double element of KEYHOLELib.KHViewInfo property longitude
Property range As Double element of KEYHOLELib.KHViewInfo property range
Property tilt As Double element of KEYHOLELib.KHViewInfo property tilt
This is a web application with a Google Earth ActiveX object and
a Google Maps Javascript interface for Internet Explorer.
The page is a bridge between GMaps and GEarth.
This application makes data interchange between the two Google services possible.
Google Earth can be controlled from the page and thus from Google Maps by
using the methods and properties exposed by the GEarth API.
HTML+TIME (SMIL) and VML are used for animation and display.
Please view this page with Internet Explorer 6 or 7
instead of the one you are currently using.
Script: William A Slabbekoorn - December 2005
__
/ _) _ __ _ _ __
|(_ \\ /||_) //_\ ||_)||_) ||_ ||_)
\__) || ||__)|| | || \||__)||_ || \
http://www.smiletime.org/GeGmGui.html
Copyright: Cybarber Web Services, William A Slabbekoorn, 2005.