gxp.GoogleEarthPanel
¶
-
class
gxp.
GoogleEarthPanel
(config)¶ Create a panel for showing a 3D visualization of a map with the Google Earth plugin. See http://code.google.com/apis/earth/ for plugin api documentation.
Config Options¶
Configuration properties in addition to those listed for Ext.Panel.
-
flyToSpeed
Number
Specifies the speed (0.0 to 5.0) at which the camera moves to the target extent. Set to null to use the Google Earth default. By default we show the target extent immediately, without flying to it.
-
mapPanel
GeoExt.MapPanel | String
The map panel associated with this panel. If a MapPanel instance is not provided, a MapPanel id must be provided.
Events¶
Events in addition to those listed for Ext.Panel.
-
beforeadd
Fires before a layer is added to the 3D view. If a listener returns
false
, the layer will not be added. Listeners will be called with a single argument: the layer record.
-
pluginfailure
Fires when there is a failure creating the instance. Listeners will receive two arguments: this plugin and the failure code (see the Google Earth API docs for details on the failure codes).
-
pluginready
Fires when the instance is ready. Listeners will receive one argument: the GEPlugin instance.