User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_viewer.add_itgis_layerabstract

Table of Contents

IGIS_Viewer.Add method

DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer.Add | Methods | Properties

Add a layer to the Viewer.

Available also on: Delphi | .NET | Java | Python.

Syntax

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

Parameters

Name Type Description
_layer ITGIS_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.

2025/01/31 01:03

Page Tools