[Users] GoogleEarthPanel doesn't like to be hidden

Matt Priour mpriour at kestrelcomputer.com
Thu Mar 11 05:28:50 CET 2010


I had the same problem with a street view window in a tabbed interface. For 
some reason, using display:none/block to hide/show the flash containers 
(which is what both StreetView & the GE Viewer are) causes problems.

You need to switch the "hideMode" property on your GoogleEarthPanel config 
to "offsets"
That setting should fix your problem

Matt Priour
Kestrel Computer Consulting

--------------------------------------------------
From: "Charlton Galvarino" <charlton at 2creek.com>
Sent: Wednesday, March 10, 2010 9:48 PM
To: <users at geoext.org>
Subject: [Users] GoogleEarthPanel doesn't like to be hidden

> I'm interested in putting an OpenLayers map in tab A and GE in tab B. 
> When I click on tab B, the GE plugin spins up nicely (I'd like to have it 
> already loaded, but that's another story), but if I activate tab A and 
> return again to tab B, it says "The GE Plugin had an internal error."
>
> I have tried trapping all of the events thinking maybe it was having a 
> problem restoring itself after being hidden, but I can't seem to get it to 
> return to a known and working state.
>
> Any ideas?
>
> I'm following the http://trac.geoext.org/wiki/ux/GoogleEarthPanel example.
>
> TIA.
>
> Charlton
>
>
>
>
>
> Charlton Galvarino
> 1 (803) 233-6205 : voice
> 1 (803) 223-9579 :   fax
> charlton at 2creek.com
>
> P.O. Box 50960
> Columbia, SC 29250
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
> 


More information about the Users mailing list