DK for .NET | TatukGIS.NDK.TGIS_Viewer.Add | Constructors | Fields | Methods | Properties | Events
Add a layer to the Viewer.
Implements IGIS_Viewer.Add.
// C# public void Add( TGIS_LayerAbstract _layer );
' VisualBasic Public Sub Add( ByVal _layer As TGIS_LayerAbstract )
// Oxygene public procedure Add( _layer : TGIS_LayerAbstract );
| Name | Type | Description |
|---|---|---|
| _layer | TGIS_LayerAbstract | layer to be added |
Use this method to add a new custom layer to the viewer. For some layers (on-disk) it's recommended to assign a layer extent earlier to avoid its recalculation.