User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_arcgisfeatureserver.openlayer_widestring_widestring

Table of Contents

ITGIS_ArcGISFeatureServer.OpenLayer method

DK for ActiveX | TatukGIS_XDK11.ITGIS_ArcGISFeatureServer.OpenLayer | Methods | Properties

Opens a feature layer from the specified service URL and layer id.

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

Syntax

// C#
public ITGIS_ArcGISFeatureServerLayer OpenLayer(
  WideString _url,
  WideString _layerId
);
' VisualBasic
Public Function OpenLayer(
  ByVal _url As WideString,
  ByVal _layerId As WideString
) As ITGIS_ArcGISFeatureServerLayer
// Oxygene
public
  function OpenLayer(
    _url : WideString;
    _layerId : WideString
  ) : ITGIS_ArcGISFeatureServerLayer;

Parameters

Name Type Description
_url WideString Feature service URL.
_layerId WideString Layer id to open.

Result

Type Description
ITGIS_ArcGISFeatureServerLayer Opened feature server layer information.

Remarks

PURPOSE: Retrieves metadata and access information for one layer from a feature service.

BEHAVIOR: Connects to the specified service URL, opens the layer identified by_layerId, and returns a layer object describing that feature service layer.

USAGE: Use this method when only one known layer needs to be opened directly.

layer = server.OpenLayer(url, "2")

2026/07/11 00:08

Page Tools