google-earth

C# Google Earth Error

A friend of mine has embedded a google earth plugin into a C# user control. All works fine but when you close the window we recieve and "Unspecified Error" with the option to continue running the scripts or not. From our tracking it down it appears this is being cause by a script that google is dropping onto the page. Any ideas? ...

How to find the installation directory of a third party application, such as Google Earth, using c#

I have the following code fragment that starts a Google Earth process using a hardcoded path: var process = new Process { StartInfo = { //TODO: Get location of google earth executable from registry FileName = @"C...

How to run Google Earth Inside a WPF Control

Hi: I’m trying to run Google earth inside WPF but I don’t know how. Basically I have managed to run Google Earth in a Windows Form Control inside a Windows Form, everything was OK. Trying to do the same thing in WPF, well, give strange result a small Google Earth screen placed anywhere in the form an not inside the User Control I have...

Google Earth popup video (ActiveX)

Is it possible to place an ActiveX control in a Google Earth placemark pop up? I have a proprietary third party activex control that I can put in embed in HTML. Would this work for Google Earth? ...

How can I place a html div over the Google Earth plugin? Involves wmode, I imagine.

I'm having trouble laying a html div over the Google Earth plugin in a web application, any help would be appreciated. It's fine for Map, Terrain and Hybrid mode, but on 'Earth' mode, the Flash kicks in and automatically layers the map on top. Z-indexing doesn't help. Presumably I could do something like: document.getElementById('fla...

Display regular street map on Google Earth

I'm writing an application that displays data using Google Earth. In certain situations, it would be more convenient if, rather than displaying satellite images, the surface of the earth would look more like the 'regular map' on Google Maps. Is this possible? ...

GIS Draw a parabola flight path in kml for google earth

Hi, I have to display flight paths on google earth and (still I got the exact flight plan path) want to show in a parabola way (markting side). From the taking off to the landing points. Basically I'm looking for the math formula to calculate latlng point with altitudes to display the parabola path. I see how to do the parabolic view wi...

How do I link to internal files in a KMZ file?

I'm trying to set up a KMZ file for use in Google Earth where the balloon contents are mostly defined in HTML files, which are embedded using iframes. The setup works with a plain KML file and the extra HTML files when using relative links on the local filesystem (assuming filesystem access is enabled). My problem is that I can't find a...

Tilt sensor to work with Google Earth

I'm working with a microcontroller and trying to use the tilt sensor to control the panning and rotating of the google earth image. I already have the tilt sensor connected to the C# code and can get data from it. What are the relavant functions that I would use to do navigate google earth in C#? ...

How can I get google earth building mesh data?

Hi I'm making a an application and i would like to import the 3D buildings in google earth that you can find in Chi,NYC,SF, etc. Is there any way to do this? ...

Real-time Data Visualization using any Earth API

How to create something like on this video (1-2 minutes http://www.ted.com/index.php/talks/sergey_brin_and_larry_page_on_google.html) using "Google Earth API" or some other? Especially: I have an online game and want to show dynamical data on some "virtual earth". 3 types of objects changing their state in real-time. It's enough to upda...

What is wrong with my KML files that they cause Google Earth to not respond?

I am having a problem with Google Earth freezing up both when I try to open it and when I try to plot KML files into it. Opening Google Earth: Sometimes when I try to open Google Earth it just freezes while: Loading myplaces.kml, including enabled overlays I am assuming this problem is being caused by the fact that if I add u...

How to delete programatically KML nodes from Google Earth?

I build a winforms app in C# which embeds Google Earth as a viewer. Like this. My app receives data regularly, transforms that to KML, and displays the result in Google Earth. Whenever I receive the new update, I want to delete the old KML, but I could not find how in GE API. All I found is making the old stuff invisible: this.g...

Is it possible in Google Earth to embed HTTP text/HTML output into a Placemark's balloon description area?

I'm displaying KML placemark data in Google Earth via a NetworkLink, and would like to keep the size of the KML down by not including the description text in the Placemarks' KML definitions. Instead, I would like to retrieve and embed remote HTML text (via an HTTP request) only when the balloon window is activated. Is this possible? I k...

How do I maintain session state with a Google Earth client?

I'm playing with dynamic updates to Google Earth KML files. The updates are of the form <kml...> <NetworkLinkControl> <Update> <targetHref="..."> <Change> <Placemark targetId="..."> ...stuff to update... </Placemark> </Change> </Update> </NetworkLinkControl> </kml> And it all work...

css in Google Earth plugin

Hello just wondering if it is possible to style a pop-up balloon via an external/linked .css file, rather than inline styles ? thanks in advance ! .k ...

Plotting a trajectory over time (a movie) using Google Earth/Maps

I have a set of points starting from (0,0,0) charting a path taken by a vehicle in 3D with each point being the distance traveled in its respective dimension. I need to do 2 things Let (0,0,0) denote a latitude and longitude. How do I convert my set of points in 3D to it's equivalent in latitude and longitude? Plot it frame-by-frame (w...

Google Earth Heat Maps

Is there a way to create a heat map in google earth, so areas with higher values (of some specified parameter, such as population) appear as hotspots? ...

How can I use an image to overlay the entire earth in Google Earth?

I'm trying to overlay a map around the entire earth in Google Earth. Is there a certain dimension the image needs to be for this? ...

kmz compression for google earth images with java

Does anyone know what compression to use in Java for creating KMZ files that have images stored within them? I tried using standard Java compression (and various modes, BEST_COMPRESSION, DEFAULT_COMPRESSION, etc), but my compressed file and the kmz file always come out slightly different don't load in google earth. It seems like my png i...