User Tools

Site Tools


Table of Contents

Hierarchy sample

Documentation | Samples | Hierarchy


How to create and manage a group of layers in a legend control.


This sample illustrates use of:

Name Description
TGIS_ControlLegendVisual Legend component.
TGIS_HierarchyManager.ClearGroupsDelete all groups.
TGIS_HierarchyManager.CreateGroupCreate a group.
TGIS_HierarchyManager.AddLayerAdd a layer to groups.
TGIS_HierarchyManager.GroupsGet group by name.
TGIS_HierarchyManager.MoveGroupMove group to another group.
TGIS_HierarchyManager.AddOtherLayersAdd layers from the viewer (not used in the hierarchy list) to the hierarchy.
TGIS_HierarchyManager.ParseHierarchyParse hierarchy list and build groups with layers.


This sample is available on following platforms (click to see source code):

2020/05/26 09:38

Page Tools