Skip to main content

New Ext JS extension for Google Earth API


I've made a new Ext JS extension for Google Earth API available on Google Code.

Enjoy! :-)

Comments

Anonymous said…
Hi Bjorn

great news - I can see you have added Google Geocoder so it's possible to search for locations now - I have also added that option for my danish version of your Earth Atlas.

Great work!!
BTW the danish www.globalis.dk project is also cool
veerugadde said…
Hello,

Its really wonderful tool and deserves a lot of applauds.Is there possibility that we can integrate google maps api in to the above application besides google earth plugin.if so can you please explain the possible way to implement?

Thanks
Bjørn Sandvik said…
Hi,

You might have a look at the Ext Google Maps wrapper class.

Bjørn
veerugadde said…
hello,
Thanks for your suggestion and seems to working fine.But the problem is that if want to add kml file to maps api,should i work around the ExtJs Wrapper.Could you please explain the best way to load the kml files on maps api using EXT JS ?

Thanks,
Unknown said…
Hi.

This Earth Atlas is great geo-web one, I think.

I have two questions about this.

First, why aren't central parts of USA, Canada and Australia covered 3d polygons completely?

Second, any idea for drawing 3D arrows showing population migration, traffic flows and other flow phenomena between contries?


Regards.
Bjørn Sandvik said…
Hi h_ono,

1. The plygon hole problem is described on this page.

2. I've not yet had time for flow maps. You can probably do this by using KML LineString and/or KML Icon and/or Collada models.

Veerugadde, I've not yet tried to combine Google Maps, Ext JS and KML.

cheers,
Bjorn
Dennis Ward said…
Thanks for making this available-- I was able to put together a version that displays two very large datasets (more than 8,000 datapoints) in about 30 minutes! I want to add NASA's Nighttime Lights as an optional background layer (since my project has to do with monitoring light pollution globally), which should be pretty easy.

I agree with veerugadde that being able to select between the Maps and Earth apis would be great. I'll check out the wrapper next week.

Looking forward to your session at AGU. I have an education poster at 1340 on Thursday, but plan on spending the rest of the day in the virtual globe sessions.
Unknown said…
Hi Bjorn,

Can you tell me how to make GE lookat event when KML tree nodes are clicked?

Thank you very much..
Unknown said…
Hi Bjorn,

I have some questions related to your Earth Atlas:
- Why were there no actions happening when I clicked the KML nodes?
- Is it possible to create GE lookat event when KML tree nodes are clicked?

Thanks alot.
Bjørn Sandvik said…
Hi lonthox,

The functionality you're requesting is currently not present in the Ext JS extension for Google Earth API.

Bjørn
Unknown said…
Hi Bjorn,

I want to say thank you for your Earth Atlas. I have made a webpage using your creation. But, I want to make my webpage more interactive by adding GE look at event when KML tree node are clicked. I found a demo created by Roman using Dojo framework that accomodate the functionality (see: http://earth-api-samples.googlecode.com/svn/trunk/demos/dom-tree/index.html). He use some scripts to get the functionality. Here is the code:
function flyToFeature(kmlFeature) {
var aspectRatio = dojo.coords('center').w * 1.0 / dojo.coords
('center').h;
var lookAt = computeFitLookAt(g_ge, kmlFeature, aspectRatio);
if (lookAt)
g_ge.getView().setAbstractView(lookAt);

}

How to make this functionality using Ext JS for Google Earth API?

Sorry for English.

Regards,
Lonthox
Anonymous said…
Bjorn,

Hi I work for the US Army Corp of Engineers; I am trying to incorporate your Ext JS extension into our webpage. Can you help me with the configuration? Unfortunately, our pages are behind a firewall but I can send you the source code if you want. Maybe you can help get it working. Another challenge I have I'm currently building all this in MS SharePoint. Any pointers you can provide will be greatly appreciated.

Thanks.

Ed

Popular posts from this blog

Creating a WebGL Earth with three.js

This blog post will show you how to create a WebGL Earth with three.js , a great JavaScript library which helps you to go 3D in the browser. I was surprised how easy it seemed when reading a blog post  by Jerome Etienne . So I decided to give it a try using earth textures  from one of my favourite cartographers, Tom Patterson . WebGL is a JavaScript API for rendering interactive 3D graphics in modern web browsers without the use of plug-ins. Three.js is built on top of WebGL, and allows you to create complex 3D scenes with a few lines of JavaScript. If your browser supports WebGL you should see a rotating Earth below: [ Fullscreen ] To be able to display something with three.js, you need three things: a scene, a camera and a renderer. var width  = window.innerWidth,     height = window.innerHeight; var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera(45, width / height, 0.01, 1000); camera.position.z = 1.5; var rende...

Thematic Mapping Engine

It's time to introduce the Thematic Mapping Engine (TME). In my previous blog posts, I've shown various techniques of how geobrowsers can be used for thematic mapping. The goal has been to explore the possibilites and to make these techniques available to a wider audience. The Tematic Mapping Engine provides an easy-to-use web interface where you can create visually appealing maps on-the-fly. So far only prism maps are supported, but other thematic mapping techniques will be added in the upcoming weeks. The engine returns a KMZ file that you can open in Google Earth or download to your computer. My primary data source is UNdata . The above visualisation is generated by TME ( download KMZ ) and shows child mortaility in the world ( UNdata ). The Thematic Mapping Engine is also an example of what you can achieve with open source tools and datasets in the public domain: A world border dataset is loaded into a MySQL database . The same database contains tables with statistics ...

Creating 3D terrains with Cesium

Previously, I’ve used three.js to create 3D terrain maps in the browser ( 1 , 2 , 3 , 4 , 5 , 6 ). It worked great for smaller areas, but three.js doesn’t have built-in support for tiling and advanced LOD algorithms needed to render large terrains. So I decided to take Cesium for a spin. Cesium is a JavaScript library for creating 3D globes and 2D maps in the browser without a plugin. Like three.js, it uses WebGL for hardware-accelerated graphics. Cesium allows you to add your own terrain data, and this blog post will show you how. Impressed by the terrain rendering in @CesiumJS - with a 10m elevation model for Norway! Farewell Google Earth. pic.twitter.com/RQKvfu2hBb — Bjørn Sandvik (@thematicmapping) October 4, 2014 Compared to  the dying Google Earth plugin , it's quite complicated to get started with Cesium. The source code is well documented and the live coding Sandcastle is great, but there is a lack of tutorials  and my development slows down when ...