User Tools

Site Tools


api:dk11:delphi:gisinterfaces.igis_viewer.add_tgis_layerabstract

Table of Contents

IGIS_Viewer.Add method

DK11 for Delphi | GisInterfaces.IGIS_Viewer.Add | Methods | Properties

Add a layer to the Viewer.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure Add(
    const _layer : TGIS_LayerAbstract
  );
// C++ Builder
public:
  void Add(
    TGIS_LayerAbstract* const _layer
  ) = 0;

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.

2020/05/07 01:07

Page Tools