This document is archived and information here might be outdated. Recommended version. |
Creates the globe layer file for the globe cache given by gmx.xml configuration file.
[Visual Basic .NET] Public Function CreateLayerFromGmxXML ( _ ByVal CachePath As String _ ) As IEnumLayer
[C#] public IEnumLayer CreateLayerFromGmxXML ( string CachePath );
[C++]
HRESULT CreateLayerFromGmxXML(
BSTR CachePath
);
[C++] Parameters CachePath [in]
CachePath is a parameter of type BSTR
Use IGlobeDisplayUtil.CreateLayerFromGmxXML to create a layer file for a globe cache
cachePath - the full path for you data cache. It can include gmx.xml or just full path to the cache path folder.
ppLayers � returns an IEnumLayer. You can use IScene:AddLayers to add the returned layer to the globe.