ArcGISFeatureLayerInfo QML Type

  • Esri.ArcGISRuntime
  • ArcGISFeatureLayerInfo
  • Information about an individual layer in an ArcGIS feature service. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.0
    Inherits:

    Object

    Properties

    Methods

    Detailed Description

    Note: You cannot declare or create a component of this type in QML code.

    Property Documentation

    [read-only] allowGeometryUpdates : bool

    Returns whether geometry of existing features can be updated (read-only).


    [read-only] attribution : string

    Returns the attribution information (read-only).


    [read-only] capabilities : FeatureServiceCapabilities

    Returns the capabilities supported by the layer (read-only).


    [read-only, since Esri.ArcGISRuntime 100.4] cimVersion : string

    Returns the service's CIM version (read-only).

    This property was introduced in Esri.ArcGISRuntime 100.4.


    [read-only] dataVersioned : bool

    Returns whether data in the service is versioned (read-only).


    [read-only, since Esri.ArcGISRuntime 100.3] defaultSubtypeCode : var

    Returns the layer's default subtype code (read-only).

    This property was introduced in Esri.ArcGISRuntime 100.3.


    [read-only] defaultVisibility : bool

    Returns whether the layer is visible by default (read-only).


    [read-only] description : string

    Returns the description of the layer or table in the service (read-only).


    [read-only] displayFieldName : string

    Returns the name of the field that is used to display a title for features in the layer (read-only).


    [read-only] drawingInfo : DrawingInfo

    Returns information about how features in the service should be displayed on a map (read-only).


    [read-only] editFieldsInfo : EditFieldsInfo

    Returns metadata specifying which fields or attributes of a feature contain information about who created/edited the feature and when was it created/edited (read-only).


    [read-only] effectiveMaxScale : double

    Returns the maximum scale at which this layer or any of its parents is visible (read-only).

    If the map is zoomed in beyond this scale, the layer will not be visible.

    The maximum or minimum scale of a layer can be set individually, but at display time it will be overridden by the maximum or minimum scale of the parent layer if the parent layer has one.


    [read-only] effectiveMinScale : double

    Returns the minimum scale at which this layer or any of its parents is visible (read-only).

    If the map is zoomed out beyond this scale, the layer will not be visible.

    The maximum or minimum scale of a layer can be set individually, but at display time it will be overridden by the maximum or minimum scale of the parent layer if the parent layer has one.


    [read-only] extent : Envelope

    Returns the geographic extent this layer covers (read-only).


    [read-only, since Esri.ArcGISRuntime 100.3] featureSubtypes : list<FeatureSubtype>

    Returns a list of FeatureSubtype objects describing the subtypes of the layer (read-only).

    This list is included for layers that have subtypes. The domains in the types list will match the domains in the subtype list for layers that have a unique value renderer based on the subtype column.

    This property was introduced in Esri.ArcGISRuntime 100.3.


    [read-only] featureTemplates : list<FeatureTemplate>

    Returns a list of feature templates for the layer (read-only).

    Only present if the layer is based on an ArcGIS feature service and does not contain feature subtypes.


    [read-only] featureTypes : list<FeatureType>

    Returns a list of feature types representing feature subtypes in the layer (read-only).

    For example, a roads layer may contain 2 feature subtypes: highways and streets.


    [read-only] fields : list<Field>

    Returns the attribute fields (columns) available in the data (read-only).


    [read-only] geometryType : Enums.GeometryTypes

    Returns the type of geometry contained by features in the layer (read-only).

    See also Enums.GeometryType.


    [read-only] globalIdFieldName : string

    Returns the name of the field that contains the global ID (read-only).


    [read-only] hasAttachments : bool

    Returns whether features in the layer may have attachments (read-only).


    [read-only] hasM : bool

    Returns whether features in the layer may contain m-values (read-only).


    [read-only] hasZ : bool

    Returns whether features in the layer may contain z-values (read-only).


    [read-only] maxRecordCount : string

    Returns the maximum number of results returned by the service for any query operation (read-only).

    Note: The underlying property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

    See also maxRecordCountAsInt.


    [read-only, since Esri.ArcGISRuntime 100.3] maxRecordCountAsInt : int

    The same as maxRecordCount but represented as an integer type (read-only).

    Note: The underlying property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

    This property was introduced in Esri.ArcGISRuntime 100.3.


    [read-only] maxScale : double

    Returns the maximum scale at which this layer is visible (read-only).

    If the map is zoomed in beyond this scale, the layer will not be visible.


    [read-only] minScale : double

    Returns the minimum scale at which this layer is visible (read-only).

    If the map is zoomed out beyond this scale, the layer will not be visible.


    [read-only] objectIdFieldName : string

    Returns the name of the field that contains the object ID (read-only).


    [read-only] ownershipBasedAccessControl : OwnershipBasedAccessControlInfo

    Returns information about ownership-based access policies governing who can edit, delete, and query features (read-only).


    [read-only, since Esri.ArcGISRuntime 100.1] relationshipInfos : list<RelationshipInfo>

    Returns a list of RelationshipInfo objects that describe this layer/table's relationship with another layer or table in the service (read-only).

    This property was introduced in Esri.ArcGISRuntime 100.1.


    [read-only] serviceLayerId : string

    Returns the ID of the layer or table in the service (read-only).

    Note: The underlying property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

    See also serviceLayerIdAsInt.


    [read-only, since Esri.ArcGISRuntime 100.3] serviceLayerIdAsInt : int

    The same as serviceLayerId but represented as an integer type (read-only).

    Note: The underlying property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

    This property was introduced in Esri.ArcGISRuntime 100.3.


    [read-only] serviceLayerName : string

    Returns the name of the layer or table in the service (read-only).


    [read-only] serviceSourceType : Enums.ServiceType

    Returns the type of service, such as Map Service or Feature Service (read-only).

    See also Enums.ServiceType.


    [read-only] serviceType : Enums.ArcGISFeatureLayerInfoServiceType

    Returns the type of layer or table in the service (read-only).

    See also Enums.ArcGISFeatureLayerInfoServiceType.


    [read-only, since Esri.ArcGISRuntime 100.3] subtypeField : string

    Returns the layer's subtype field (read-only).

    This is the field whose value determines the subtype of a feature. The value of this field corresponds to a subtype code for that feature.

    This property was introduced in Esri.ArcGISRuntime 100.3.

    See also FeatureSubtype::code.


    [read-only] supportsAdvancedQueries : bool

    Returns whether the service supports advanced query operations (such as ordering results, or returning distinct results) (read-only).


    [read-only, since Esri.ArcGISRuntime 100.3] supportsOBACForAnonymousUsers : bool

    Returns whether the service supports Ownership Based Access Controls (OBAC) for anonymous users (read-only).

    This property was introduced in Esri.ArcGISRuntime 100.3.


    [read-only, since Esri.ArcGISRuntime 100.3] supportsPagination : bool

    Returns whether the service supports paginated queries with a max features count and result offset (read-only).

    This property was introduced in Esri.ArcGISRuntime 100.3.


    [read-only, since Esri.ArcGISRuntime 100.4] supportsQueryExtent : bool

    Returns whether the service supports queries for the extent of features meeting a specified criteria (read-only).

    This property was introduced in Esri.ArcGISRuntime 100.4.


    [read-only] supportsRollbackOnFailureParameter : bool

    Returns whether the service is capable of rolling back all edit operations in a batch if any one of the operations in the batch fails (read-only).


    [read-only] supportsStatistics : bool

    Returns whether the service is capable of returning statistics for query results (read-only).


    [read-only] timeInfo : LayerTimeInfo

    Returns temporal information for the layer such as start time field and end time field (read-only).


    [read-only] typeIdFieldName : string

    Returns the name of the field that contains the subtype information for each feature (read-only).


    [read-only] url : url

    Returns the URL of the layer (read-only).


    [read-only] version : string

    Returns the version of the service (read-only).


    [read-only] zDefault : double

    Returns defaut z-values for features created without a valid z-value (read-only).

    Only applicable if zDefaultsEnabled is true.


    [read-only] zDefaultsEnabled : bool

    Returns whether a default z-value will be applied for features created without a z-value (read-only).


    Method Documentation

    FeatureType featureType(string name)

    A convenience method to find a feature type in a layer with a given name.


    Field field(string fieldName)

    A convenience method to find a field in a layer with a given fieldName.

    Since Esri.ArcGISRuntime 100.1, the fieldName parameter only accepts a field name.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.