google-earth-plugin

How to handle a drag-event within Google Earth plugin?

My javascript is very weak. Is it possible to modify the same code below to do the following: Make the objects loaded draggable When the object is dropped, an ajax request to something like: http://.../moveTo?lat=new_lat&long=new_long&id=some_way_to_uniquely_id_the_object Any advice to offer? Sample Code: var ge; // stor...

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 offscreen Google Earth on a panel?

Is it possible to capture the graphics object created by the Google Earth browser plugin from a .NET WebBrowser control? With this graphics object I could create an image to use as the background image for a panel that I can then draw on top of. You cannot just use a WebBrowser control under a Panel control as the Google Earth plugin d...

Looking at location with Google Earth API

I am trying to use the Google Earth API to create a simple view of the globe with a search field in which the user can type a location. When they hit go, the globe will zoom in on the location they typed in. I would like the view to be looking straight down on the location they specified. I have tried the following code: var lookAt = g...

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 ...

Calculating bounding grid coordinates to a user click on google maps/google earth

Hello, I have a requirement to calculate the centroid or geodesic midpoint of when a user clicks in between the lat/long grid crossing. The crossing forms a square in most parts of GE and sometimes elongated rectangles. This is due to the shape of the earth of course. I'm looking for a valid mathematical formula that would allow a ...

Google earth browser plugin does not accept custom markers with custom images.

I use custom images in google maps markers. I have included google earth control through google earth browser plugin. But they don't show custom images in google earth control? Any way I can solve this problem? Thanks, Jayesh ...

AIR (FLEX) and Google Earth Plugin API

At this point Google does not have a Google Earth plugin API for the flash player. I would still like to use GE in my AIR(Flex) application though. Can I do this by using the HTML container? If not what is a possible solution? ...

Overlay Google Maps Normal tiles in the Google Earth Api

I'm not sure if this is possible, but I would like to overlay the Normal Google Map Tiles(type: G_NORMAL_MAP) inside of the Google Earth Web Api. The satellite maps have too inconsistent of contrast for the layers I want to display. Any help would be appreciated on if this is possible, and if it is a direction on how to do it. Thank...

Google Earth Browser Plugin not loading KML file in some browsers

code: google.load("earth", "1"); function gemap_init() { google.earth.createInstance('gemap', initCB, failureCB); } function initCB(instance) { try { ge = instance; ge.getWindow().setVisibility(true); console.log(ge.getPluginVersion()); google.earth.fetchKml(ge, 'http://example.com.au/maps/example.kml', ...

What's the easiest way to get a GWT PopupPanel to show in front of Google Earth Plugin

I am using the GWT MapWidget to view Google Earth but it seems that PopupPanels are being shown behind the earth view in Firefox. It works correctly when other map types like satellite and in IE. I understand that the way to get this to work is to use an IFrame shim but I'm not sure how to do this easily in GWT. Apparently, PopupImplIE6 ...

Google earth GEOdata ?

Question: Is it possible to use/retrieve Geodata from Google-Earth ? What I want to do is take a little area, get terrain information (coordinates, height, elevation) and simulate how the selected area would be flooded at specified amounts of rain for a specified amount of hours. ...

Clear a kml that was added to google earth using javascript

I have added a kml to google earth by use of button with javascript. How can I delete that kml or clear all kml's by use of another button? thanks ...

DynamicMapService on GoogleEarth?

Hi, can anyone tell me if it is possible to display an ArcGIS dynamicMapService on GoogleEarth via the GoogleMaps API? It works fine with KML but my services are only visible on the 2D maps. Any ideas? ...

Using Google Earth API inside iPad app's

I need to create an iPad application that uses Google Earth at its core. So Basically when the app opens it will need to run Google Earth. Then I would need to add additional features tailored to our business such as photos of our different hotels and offers and different icons and various features. Is this at all possible and how ...

Is there a Google Earth control available in the iPad SDK?

Is there a Google Earth control available in the iPad SDK or someway of having google earth inside my new iPad app? ...

HTMLDivBalloon - Google Earth API Question

Dear all, I have a problem using balloons in google earth. I have some markers on the map, upon clicking on a marker, a balloon popup is shown containing some data, now when I click on the close button of that balloon, the click event of the map is also triggered which is really annoying as I have a handler attached with the map click e...

Boilerplate code for listening to MouseEvents in Google Earth COM API

I'm trying to get the LAT/LON position of the mouse in a Windows Forms app using the browsercontrol and IGEPlugin. Anyone got a clue? ...

Google Earth Determining zoom level from bounding box

Hi guys, I got a Windows Forms app making use of Google Earth where users can draw a polygon on the map which is used as a geofence. What I'd like to do is to be able to zoom to the polygon so that it fits nicely on screen with a click of a button. A sort of zoom to fit function. Finding the centre of the polygon and setting the Googl...

How to draw openlayers features using a google earth basemap

Trying to use OpenLayers to (eventually) load markers, vectors & WMS on top of a google earth plugin base map. Google Earth does not appear to 'play well with others'. If I instantiate a map in the 'google way': google.earth.createInstance('map', initCB, failCB); I get a google map that I can add google placemarks to, but I can't ...