ArcGISMapServiceSublayerInfo class final

The metadata of an ArcGIS map service sublayer.

ArcGISMapServiceSublayerInfo provides basic information about an individual map image sublayer (or map service sublayer), such as the description, geometry type, drawing information, fields, extent, capabilities, and layer type. You can obtain a collection of map image sublayers from ArcGISMapImageLayer.arcGISMapImageSublayers and obtain the ArcGISMapServiceSublayerInfo using the ArcGISSublayer.arcGISMapServiceSublayerInfo.

The ArcGISMapServiceSublayerInfo.sublayerType specifies if the map image sublayer is a feature layer, table, raster layer, or group layer. If the sublayer type is ArcGISMapServiceSublayerType.groupLayer, it will have its own collection of sublayers that you can access using ArcGISSublayer.sublayers. If one of these sublayers is a group layer it will also contain a collection of sublayers, and so on.

Implemented types
Mixed in types

Constructors

ArcGISMapServiceSublayerInfo.fromJson(Map<String, dynamic> json)
factory
ArcGISMapServiceSublayerInfo.fromJsonString(String jsonString)
factory

Properties

attribution String
The sublayer's attribution.
no setter
canModifyLayer bool
A flag indicating whether the sublayer supports modifying its renderer and/or its data source.
no setter
canScaleSymbols bool
A flag indicating whether the text and symbols on the sublayer will change as the map scale varies.
no setter
capabilities MapServiceCapabilities
The sublayer's capabilities.
no setter
defaultSubtypeCode → dynamic
The sublayer's default subtype code.
no setter
defaultVisibility bool
True if the sublayer is visible by default.
no setter
definitionExpression String
The sublayer's definition expression.
no setter
description String
The sublayer's description.
no setter
displayFieldName String
The sublayer's display field name.
no setter
drawingInfo DrawingInfo?
The sublayer's drawing info.
no setter
effectiveMaxScale double
The sublayer's effective max scale.
no setter
effectiveMinScale double
The sublayer's effective min scale.
no setter
extent Envelope?
The sublayer's extent.
no setter
featureSubtypes List<FeatureSubtype>
The sublayer's feature subtypes.
no setter
featureTypes List<FeatureType>
The sublayer's feature types.
no setter
fields List<Field>
The sublayer's field definitions.
no setter
geometryType GeometryType
The sublayer's geometry type.
no setter
hasAttachments bool
True if the sublayer has attachments.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasLabels bool
True if the sublayer has labels defined on it.
no setter
hasM bool
True if the sublayer has m-values.
no setter
hasZ bool
True if the sublayer has z-values.
no setter
isDataVersioned bool
True if the sublayer has versioned data.
no setter
maxRecordCount int
The sublayer's max record count.
no setter
maxScale double
The sublayer's max scale.
no setter
minScale double
The sublayer's min scale.
no setter
ownershipBasedAccessControl OwnershipBasedAccessControlInfo?
The sublayer's ownership based access control.
no setter
parentLayerInfo IdInfo?
The parent layer info.
no setter
relationshipInfos List<RelationshipInfo>
The sublayer's relationship infos.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceLayerId int
The sublayer's ID.
no setter
serviceLayerName String
The sublayer's name.
no setter
sublayerInfos List<IdInfo>
The sublayer info.
no setter
sublayerType ArcGISMapServiceSublayerType
The type of sublayer in the ArcGIS map service.
no setter
subtypeField String
The sublayer's subtype field.
no setter
supportsAdvancedQueries bool
True if the sublayer supports advanced queries such as order by fields.
no setter
supportsStatistics bool
True if the sublayer supports statistical functions in query operations.
no setter
timeInfo LayerTimeInfo?
The sublayer's time info.
no setter
typeIdFieldName String
The sublayer's type id field name.
no setter
uri Uri?
The sublayer's URL.
no setter
useStandardizedQueries bool
A flag indicating whether the sublayer requires the use of standardized queries. Returns true indicates the sublayer requires the use of standardized queries, a value of false indicates otherwise.
no setter
version String
The sublayer's version.
no setter

Methods

getField({required String fieldName}) Field?
Returns the field definition of the given field name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
toJsonString() String
Returns a JSON representation of this Object as a String.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited