SubtypeSublayer

A sublayer that allows custom rendering for features of a particular subtype.

Since

200.1.0

See also

Properties

Link copied to clipboard

True if editing is allowed on the sublayer, when it is supported, false otherwise. Indicates whether a client should allow feature editing for this layer. When you set this value to true, editing is allowed on the sublayer only if the service also supports editing.

Link copied to clipboard

The sublayer's feature templates. A collection of templates that can be used to create new features of SubtypeSublayer.subtype with default attribute values and a specified mode for creating its geometry.

Link copied to clipboard
Link copied to clipboard
open override var labelsEnabled: Boolean

True if the sublayer's labels are enabled, false otherwise. Will return false if an error occurs.

Link copied to clipboard
open override var maxScale: Double?

The sublayer's maximum scale. The sublayer maximum scale. Will return NAN if an error occurs.

Link copied to clipboard
open override var minScale: Double?

The sublayer's minimum scale. The sublayer minimum scale. Will return NAN if an error occurs.

Link copied to clipboard
open override var opacity: Float

The sublayer's opacity. Will return NAN if an error occurs.

Link copied to clipboard
open override var renderer: Renderer?

The sublayer's renderer.

Link copied to clipboard

The subtype in the feature service that this subtype represents.

Link copied to clipboard

Unknown data from the source JSON. Unknown JSON is a dictionary of values not defined in the ArcGIS specification used to create this object but found in the source JSON. If the object is written back to JSON, any unknown JSON data is not persisted. The ArcGIS specification may be for a web map, web scene, REST API, and so on.

Link copied to clipboard

Unsupported data from the source JSON. Unsupported JSON is a dictionary of values defined in the ArcGIS specification used to create this object but not currently used in this API. If the object is written back to JSON, any unsupported JSON data is persisted. The ArcGIS specification may be from a web map, web scene, REST API, and so on.

Inherited properties

Link copied to clipboard
open override val canChangeVisibility: Boolean

A flag indicating whether the layer content's visibility can be changed. A flag indicating whether the layer content visibility can be changed. Will return false if an error occurs.

Link copied to clipboard

A SQL statement where clause that stipulates a subset of features to be displayed. The definition expression string uses the SQL-92 where clause syntax (https://en.wikipedia.org/wiki/SQL-92). Be sure to escape special characters in the expression string as required for your platform. The DATE keyword expects the date format yyyy-mm-dd and the TIMESTAMP keyword expects the time stamp format yyyy-mm-dd hh:mm:ss. For more information, see the ArcGIS Blog article Querying Feature Services Date-Time Queries.

Link copied to clipboard

Defines the user interface to display when editing a feature in this layer or table. This is null if an error occurs or if the table does not have an associated feature form definition.

Link copied to clipboard
val id: Long

The id that uniquely identifies this sublayer. Will return -1 if an error occurs.

Link copied to clipboard
open override var isPopupEnabled: Boolean

A flag indicating whether the PopupDefinition defined on the PopupSource is enable / disable. Will return false if an error occurs.

Link copied to clipboard
open override var isVisible: Boolean

The layer content's visibility. The layer content visibility. Will return false if an error occurs.

Link copied to clipboard
open override val loadStatus: StateFlow<LoadStatus>

The load status.

Link copied to clipboard

The sublayer's metadata. The sublayer metadata once the sublayer is loaded. Will return null if an error occurs or if the sublayer is not loaded.

Link copied to clipboard
open override val name: String

The layer content's name. The layer content name.

Link copied to clipboard
open override var popupDefinition: PopupDefinition?

The pop-up definition. The PopupDefinition associated with the popup source. A null if an error occurs or if the popup source is not associated with a pop-up definition.

Link copied to clipboard

True if the sublayer renderers its symbols based on scale, false otherwise. Will return false if an error occurs.

Link copied to clipboard
open override var showInLegend: Boolean

A flag indicating whether the layer content participates in the legend. A flag indicating whether the layer content is shown in the legend.

Link copied to clipboard
open override val subLayerContents: StateFlow<List<LayerContent>>

The sub layer contents of a layer content.

Link copied to clipboard

The collection of sublayers of a sublayer. This collection is usually empty unless the parent layer is loaded. Modifying this collection has no effect unless this sublayer is associated with an ArcGIS map service that supports dynamic layers. "Supports Dynamic Layers" must be set to true in the ArcGIS MapServer REST Services Directory.

Functions

Link copied to clipboard
open override fun clone(): SubtypeSublayer

Clones the SubtypeSublayer.

Inherited functions

Link copied to clipboard
open override fun cancelLoad()

Cancels loading metadata for the Loadable object.

Link copied to clipboard
open suspend override fun fetchLegendInfos(): Result<List<LegendInfo>>

Fetches the list of legend info.

Link copied to clipboard
open override fun isVisibleAtScale(scale: Double): Boolean

Returns the layer content's effective visibility at the specified scale. Returns the effective layer content visibility. This effective visibility takes care of the effective visibility of the parents at the specified scale. Will return false if an error occurs.

Link copied to clipboard
open suspend override fun load(): Result<Unit>

Loads the metadata for the object.

Link copied to clipboard
open suspend override fun retryLoad(): Result<Unit>

Loads or retries loading metadata for the object.