PDA

View Full Version : Making the GXT context tree menu display over Google Earth? (IFrame shim?)



David Lamm
27 Dec 2010, 9:16 PM
Hi guys,

I'm trying to add an EXT GWT context tree menu (http://www.sencha.com/examples/explorer.html#contextmenutree) on the same page as an embedded Google Earth Browser Plugin (http://earth-api-samples.googlecode.com/svn/trunk/demos/helloearth/index.html).

However, I did some research and it seems like the only way to make something display over Google Earth is to use an Iframe shim but the only demos that I could find online were demos involving javascript and HTML. (http://www.oratransplant.nl/2007/10/26/using-iframe-shim-to-partly-cover-a-java-applet/)

My question is, is there any way to put the GWT context tree menu into an iframe and have that display above Google Earth?

Any help would be appreciated.

Thanks!
David

sven
28 Dec 2010, 2:25 AM
try to set GXT.useShims to true as first line in your onModuleLoad method

David Lamm
5 Jan 2011, 8:12 PM
Thanks so much! Works great.