Skip To Content ArcGIS for Developers Sign In Dashboard

ArcGISMapServiceSublayerInfo Class

(Esri::ArcGISRuntime::ArcGISMapServiceSublayerInfo)

Information about a sublayer in an ArcGIS map service. More...

Header: #include <ArcGISMapServiceSublayerInfo>
Since: Esri::ArcGISRuntime 100.1

Public Functions

ArcGISMapServiceSublayerInfo()
ArcGISMapServiceSublayerInfo(const ArcGISMapServiceSublayerInfo &other)
ArcGISMapServiceSublayerInfo(ArcGISMapServiceSublayerInfo &&other)
~ArcGISMapServiceSublayerInfo()
QString attribution() const
bool canModifyLayer() const
bool canScaleSymbols() const
MapServiceCapabilities capabilities() const
QVariant defaultSubtypeCode() const
QString definitionExpression() const
QString description() const
QString displayFieldName() const
DrawingInfo drawingInfo() const
double effectiveMaxScale() const
double effectiveMinScale() const
Envelope extent() const
QList<FeatureSubtype> featureSubtypes() const
QList<FeatureType> featureTypes() const
Field field(const QString &fieldName) const
QList<Field> fields() const
GeometryType geometryType() const
bool hasAttachments() const
bool hasLabels() const
bool hasM() const
bool hasZ() const
bool isDataVersioned() const
bool isDefaultVisible() const
bool isEmpty() const
bool isSupportsAdvancedQueries() const
bool isSupportsStatistics() const
bool isUseStandardizedQueries() const
qint64 maxRecordCount() const
double maxScale() const
double minScale() const
OwnershipBasedAccessControlInfo ownershipBasedAccessControl() const
IdInfo parentLayerInfo() const
QList<RelationshipInfo> relationshipInfos() const
qint64 serviceLayerId() const
QString serviceLayerName() const
QList<IdInfo> sublayerInfos() const
ArcGISMapServiceSublayerType sublayerType() const
QString subtypeField() const
LayerTimeInfo timeInfo() const
QString typeIdFieldName() const
QUrl url() const
QString version() const
ArcGISMapServiceSublayerInfo &operator=(const ArcGISMapServiceSublayerInfo &other)
ArcGISMapServiceSublayerInfo &operator=(ArcGISMapServiceSublayerInfo &&other)

Detailed Description

Information about a sublayer in an ArcGIS map service.

Member Function Documentation

ArcGISMapServiceSublayerInfo::ArcGISMapServiceSublayerInfo()

Default constructor.

ArcGISMapServiceSublayerInfo::ArcGISMapServiceSublayerInfo(const ArcGISMapServiceSublayerInfo &other)

Copy constructor from other ArcGISMapServiceSublayerInfo.

ArcGISMapServiceSublayerInfo::ArcGISMapServiceSublayerInfo(ArcGISMapServiceSublayerInfo &&other)

Move constructor from other ArcGISMapServiceSublayerInfo.

ArcGISMapServiceSublayerInfo::~ArcGISMapServiceSublayerInfo()

Destructor.

QString ArcGISMapServiceSublayerInfo::attribution() const

Returns the attribution information.

bool ArcGISMapServiceSublayerInfo::canModifyLayer() const

Returns whether the sublayer supports modifying its renderer or its data source.

bool ArcGISMapServiceSublayerInfo::canScaleSymbols() const

Returns whether the text and symbols on the sublayer will change as the map scale varies.

MapServiceCapabilities ArcGISMapServiceSublayerInfo::capabilities() const

Returns the capabilities supported by the sublayer.

QVariant ArcGISMapServiceSublayerInfo::defaultSubtypeCode() const

Returns the layer's default subtype code.

This function was introduced in Esri::ArcGISRuntime 100.3.

QString ArcGISMapServiceSublayerInfo::definitionExpression() const

Returns the sublayer's definition expression.

QString ArcGISMapServiceSublayerInfo::description() const

Returns the description of the sublayer or table in the service.

QString ArcGISMapServiceSublayerInfo::displayFieldName() const

Returns the name of the field that is used to display a title for features in the sublayer.

DrawingInfo ArcGISMapServiceSublayerInfo::drawingInfo() const

Returns information about how features in the service should be displayed.

double ArcGISMapServiceSublayerInfo::effectiveMaxScale() const

Returns the maximum scale at which this sublayer or any of its parents is visible.

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

The maximum or minimum scale of a sublayer 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.

double ArcGISMapServiceSublayerInfo::effectiveMinScale() const

Returns the minimum scale at which this sublayer or any of its parents is visible.

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

The maximum or minimum scale of a sublayer 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.

Envelope ArcGISMapServiceSublayerInfo::extent() const

Returns the geographic extent this sublayer covers.

QList<FeatureSubtype> ArcGISMapServiceSublayerInfo::featureSubtypes() const

Returns a list of FeatureSubtype objects describing the subtypes of the layer.

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 function was introduced in Esri::ArcGISRuntime 100.3.

QList<FeatureType> ArcGISMapServiceSublayerInfo::featureTypes() const

Returns a list of feature types representing feature subtypes in the sublayer.

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

Field ArcGISMapServiceSublayerInfo::field(const QString &fieldName) const

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

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

QList<Field> ArcGISMapServiceSublayerInfo::fields() const

Returns the attribute fields (columns) available in the data.

GeometryType ArcGISMapServiceSublayerInfo::geometryType() const

Returns the type of geometry contained by features in the sublayer.

bool ArcGISMapServiceSublayerInfo::hasAttachments() const

Returns whether features in the sublayer may have attachments.

bool ArcGISMapServiceSublayerInfo::hasLabels() const

Returns whether the sublayer has labels defined on it.

bool ArcGISMapServiceSublayerInfo::hasM() const

Returns whether features in the sublayer may contain m-values.

bool ArcGISMapServiceSublayerInfo::hasZ() const

Returns whether features in the sublayer may contain z-values.

bool ArcGISMapServiceSublayerInfo::isDataVersioned() const

Returns whether data in the service is versioned.

bool ArcGISMapServiceSublayerInfo::isDefaultVisible() const

Returns whether the sublayer is visible by default.

bool ArcGISMapServiceSublayerInfo::isEmpty() const

Gets whether this ArcGISMapServiceSublayerInfo is empty.

A default constructed ArcGISMapServiceSublayerInfo is empty.

Returns true if empty.

bool ArcGISMapServiceSublayerInfo::isSupportsAdvancedQueries() const

Returns whether the service supports advanced query operations such as ordering results or returning distinct results.

bool ArcGISMapServiceSublayerInfo::isSupportsStatistics() const

Returns whether the service is capable of returning statistics for query results.

bool ArcGISMapServiceSublayerInfo::isUseStandardizedQueries() const

Returns whether the sublayer requires the use of standardized queries.

qint64 ArcGISMapServiceSublayerInfo::maxRecordCount() const

Returns the maximum number of results returned by the service for any query operation.

double ArcGISMapServiceSublayerInfo::maxScale() const

Returns the maximum scale at which this sublayer is visible.

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

double ArcGISMapServiceSublayerInfo::minScale() const

Returns the minimum scale at which this sublayer is visible.

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

OwnershipBasedAccessControlInfo ArcGISMapServiceSublayerInfo::ownershipBasedAccessControl() const

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

IdInfo ArcGISMapServiceSublayerInfo::parentLayerInfo() const

Returns information that identifies the sublayer's parent layer.

QList<RelationshipInfo> ArcGISMapServiceSublayerInfo::relationshipInfos() const

Returns a list of RelationshipInfo objects that describe this sublayer's relationships with other sublayers in the ArcGIS Map Service.

This function was introduced in Esri::ArcGISRuntime 100.2.

qint64 ArcGISMapServiceSublayerInfo::serviceLayerId() const

Returns the ID of the sublayer or table in the service.

QString ArcGISMapServiceSublayerInfo::serviceLayerName() const

Returns the name of the sublayer or table in the service.

QList<IdInfo> ArcGISMapServiceSublayerInfo::sublayerInfos() const

Returns information that identifies the sublayers of this sublayer.

ArcGISMapServiceSublayerType ArcGISMapServiceSublayerInfo::sublayerType() const

Returns the sublayer type of the service, such as Feature Layer, Raster Layer, etc...

QString ArcGISMapServiceSublayerInfo::subtypeField() const

Returns the layer's subtype field.

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 function was introduced in Esri::ArcGISRuntime 100.3.

See also FeatureSubtype::code.

LayerTimeInfo ArcGISMapServiceSublayerInfo::timeInfo() const

Returns temporal information for the sublayer such as start time field and end time field.

QString ArcGISMapServiceSublayerInfo::typeIdFieldName() const

Returns the name of the field that contains the subtype information for each feature.

QUrl ArcGISMapServiceSublayerInfo::url() const

Returns the URL of the sublayer.

QString ArcGISMapServiceSublayerInfo::version() const

Returns the version of the service.

ArcGISMapServiceSublayerInfo &ArcGISMapServiceSublayerInfo::operator=(const ArcGISMapServiceSublayerInfo &other)

Assignment operator from other ArcGISMapServiceSublayerInfo.

ArcGISMapServiceSublayerInfo &ArcGISMapServiceSublayerInfo::operator=(ArcGISMapServiceSublayerInfo &&other)

Move operator from other ArcGISMapServiceSublayerInfo.


Feedback on this topic?