ArcObjects Library Reference (GlobeCore)  

GlobeGraphicsLayer CoClass

The Globe Graphics Layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Interfaces

Interfaces Description
IConnectionPointContainer Supports connection points for connectable objects.
ICustomGlobeLayer Provides access to members that define custom globe layers.
IGeoDataset (esriGeoDatabase) Provides access to members that provide information about a Geographic Dataset.
IGlobeGraphicsLayer Provides access to the Globe Graphics Layer.
IGraphicsContainer (esriCarto) Provides access to members that control the Graphics Container.
IGraphicsContainer3D (esri3DAnalyst) Provides access to members that manipulate the graphics container.
IGraphicsLayer (esriCarto) Provides access to members that control the Graphics Layer.
IGraphicsSelection (esri3DAnalyst) Provides access to members that select 3D graphics.
ILayer (esriCarto) Provides access to members that work with all layers.
ILayerEffects (esriCarto) Provides access to members that control layer effects.
ILayerEvents (esriCarto) Provides access to events that occur when layer visibility changes.
ILayerExtensions (esriCarto) Provides access to the extensions of a layer.
IPersistStream (esriSystem)
IPublishLayer (esriCarto) Provides access to a layer's capability for being published with the ArcGIS Publisher extension.
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.
IXMLVersionSupport (esriSystem) Provides access to members that help in serializing an object to different namespaces (versions).

Event Interfaces

Interfaces Description
IActiveViewEvents (default) Provides access to events that occur when the state of the active view changes.

Remarks

The GlobeGraphicsLayer, the equivalent of the GraphicsLayer3D object for ArcScene, is the object to use for creating graphics layers in ArcGlobe.  Similar to that for the Scene object, a basic (hidden) graphics layer is automatically added to the Globe object.

 

Developers can add additional globe graphics layers to a globe object in an application or a globe control through customization via ArcObjects.  As with ArcGIS 9.2, globe graphics layers can only be added or managed via ArcObjects; there is not user interface yet to manually create one the ArcGlobe application program.  When a globe graphics layer is added by customization (see the following sample code), it needs to be specified as the active graphics layer (via IScene.ActiveGraphicsLayer property) before it can be selected by the Select Graphics tool on the user interface.

Working with Events

[Visual Basic 6.0]

When working with GlobeGraphicsLayer's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pGlobeGraphicsLayer as GlobeGraphicsLayer