DK for Delphi | GisInterfaces.IGIS_HierarchyManager | Interfaces | Methods | Properties
Manages hierarchy groups and their layer membership.
// Delphi type IGIS_HierarchyManager = interface( IInterface ) ['{6D977B07-CF7D-46DB-A2F3-6AFA8E90EC2B}'] end;
// C++ Builder __interface INTERFACE_UUID("{6D977B07-CF7D-46DB-A2F3-6AFA8E90EC2B}") IGIS_HierarchyManager : public IInterface { };
IInterface
| Name | Visibility | Description | |
|---|---|---|---|
| AddGroup | public | Add an existing group. | |
| AddLayer | public | Add a layer to the hierarchy groups. | |
| AddOtherLayers | public | Add viewer layers that are not yet used in the hierarchy. | |
| ClearGroups | public | Delete all hierarchy groups. | |
| CreateGroup | public | Create a new hierarchy group. | |
| DeleteGroup | public | Delete a group together with all of its subgroups. | |
| DeleteLayer | public | Delete a layer from the hierarchy groups. | |
| GetGroups | public | Get the group definition list. | |
| GetHierarchy | public | Get the hierarchy definition text. | |
| InsertGroup | public | Add an existing group to another group at the specified position. | |
| InsertLayer | public | Add a layer to the hierarchy at the specified position. | |
| LoadHierarchy | public | Load hierarchy definition from configuration storage. | |
| MoveGroup | public | Move a group to another group. | |
| MoveGroupEx | public | Move a group to another group at the specified position. | |
| MoveLayer | public | Move a layer from one group to another. | |
| ParseHierarchy(String) | public | Parse hierarchy text and build groups with layers. | |
| ParseHierarchy(TStrings; TGIS_ConfigFormat) | public | Parse hierarchy data and build groups with layers. | |
| Name | Visibility | Description | |
|---|---|---|---|
| Groups | public | Get a group by index or name. | |
| GroupsCount | public | Number of hierarchy groups. | |
| IsModified | public | Indicates whether the hierarchy has been modified. | |
PURPOSE: Provides operations for creating, deleting, moving, loading, and exporting hierarchy groups used to organize layers.
BEHAVIOR: The hierarchy consists of a list definition and additional group sections stored in project configuration under [TatukGIS Hierarchy] and [TatukGIS GroupN]. The manager resolves groups by name or index and tracks modification state.
USAGE: Organize viewer layers into nested groups.
GIS.Hierarchy.ClearGroups()
group = GIS.Hierarchy.CreateGroup("My group")
group.AddLayer(layer)