User Tools

Site Tools


api:dk11:net:tatukgis.ndk.wpf.tgis_viewerwnd.add_tgis_layerabstract

Table of Contents

TGIS_ViewerWnd.Add method

DK11 for .NET | TatukGIS.NDK.WPF.TGIS_ViewerWnd.Add | Constructors | Methods | Properties | Events

Add a layer to the Viewer.

Available also on: Delphi FMX | Delphi VCL | .NET WinForms | Java.

Syntax

// C#
public void Add(
  TGIS_LayerAbstract _layer
);
' VisualBasic
Public Sub Add(
  ByVal _layer As TGIS_LayerAbstract
)
// Oxygene
public
  procedure Add(
    _layer : TGIS_LayerAbstract
  );

Parameters

Name Type Description
_layer TGIS_LayerAbstract layer to be added

Remarks

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.

2017/09/04 11:30