User Tools

Site Tools


api:dk11:delphi:fmx.gisviewerwnd.tgis_viewerwnd.add_tgis_layerabstract

Table of Contents

TGIS_ViewerWnd.Add method

DK11 for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd.Add | Constructors | Methods | Properties | Events

Add a layer to the Viewer.

Available also on: .NET WinForms | Java | ActiveX | Python.

Syntax

Implements IGIS_Viewer.Add.

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

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.

2022/11/16 01:14

Page Tools