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: Delphi VCL | .NET WinForms | .NET WPF | Java.

Syntax

// 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.

2017/09/04 11:12