Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SublayerProperties

Hierarchy

Index

Properties

Optional definitionExpression

definitionExpression: string

A SQL where clause used to filter features in the image.

Read more...

Optional id

id: number

The sublayer's layer ID.

Read more...

Optional labelingInfo

labelingInfo: LabelClassProperties[]

The label definition for this layer, specified as an array of LabelClass objects.

Read more...

Optional labelsVisible

labelsVisible: boolean

Indicates if labels for the sublayer will be visible in the view.

Read more...

Optional layer

layer: (MapImageLayerProperties & { type: "map-image" }) | (TileLayerProperties & { type: "tile" })

The MapImageLayer or TileLayer to which the sublayer belongs.

Read more...

Optional legendEnabled

legendEnabled: boolean

Indicates whether the layer will be included in the legend.

Read more...

Optional listMode

listMode: "show" | "hide" | "hide-children"

Indicates how the layer should display in the LayerList widget.

Read more...

Optional maxScale

maxScale: number

The maximum scale (most zoomed in) at which the layer is visible in the view.

Read more...

Optional minScale

minScale: number

The minimum scale (most zoomed out) at which the layer is visible in the view.

Read more...

Optional opacity

opacity: number

The level of opacity to set on the sublayer on a scale from 0.0 - 1.0 where 0 is fully transparent and 1.0 is fully opaque.

Read more...

Optional popupEnabled

popupEnabled: boolean

Indicates whether to display popups when features in the layer are clicked.

Read more...

Optional popupTemplate

The popup template for the sublayer.

Read more...

Optional renderer

The renderer to apply to the sublayer.

Read more...

Optional source

source: (DynamicMapLayer & { type: "map-layer" }) | (DynamicDataLayer & { type: "data-layer" })

An object that allows you to create a dynamic layer with data either from the map service sublayers or data from a registered workspace.

Read more...

Optional sourceJSON

sourceJSON: any

The map service's metadata JSON exposed by the ArcGIS REST API.

Read more...

Optional sublayers

If a sublayer contains sublayers, this property is a Collection of Sublayer objects belonging to the given sublayer with sublayers.

Read more...

Optional title

title: string

The title of the sublayer used to identify it in places such as the LayerList and Legend widgets.

Read more...

Optional url

url: string

The URL to the REST endpoint of the sublayer.

Read more...

Optional visible

visible: boolean

Indicates if the layer is visible in the view.

Read more...

Generated using TypeDoc