How can I place a html div over the Google Earth plugin? Involves wmode, I imagine
I put together a demo showing how to use IFRAME shims here: http://earth-api-samples.googlecode.com/svn/trunk/demos/customcontrols/index.html
I put together a demo showing how to use IFRAME shims here: http://earth-api-samples.googlecode.com/svn/trunk/demos/customcontrols/index.html
ImageView globe = (ImageView) findViewById(R.id.globe); AnimationDrawable animation = new AnimationDrawable(); animation.setOneShot(true); Resources res = this.getResources(); while (from <= to) { String name = “globe_” + String.format(“%03d”, from); int globeId = res.getIdentifier(name, “drawable”, this.getPackageName()); animation.addFrame(res.getDrawable(globeId), 200); from++; } globe.setBackgroundDrawable(animation); globe.post(new Runnable(){ @Override public void run() { animation.start(); } });
It looks like you can just download is here. If you do not have a key, use your email address and the key GEPFREE to sign in. You can find complete instructions here.