Skip to content
import CameraLayout from "@arcgis/core/CameraLayout.js";
Inheritance:
CameraLayoutAccessor
Since
ArcGIS Maps SDK for JavaScript 4.29

The camera layout defines the position of the current view in a distributed larger view.

The layout selects the sub-region of the camera defined by the row and column in the large view of size [rows, columns]. One application is to represent a display in a larger tile display wall.

See also

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.
PropertyTypeClass
declaredClass
readonly inherited
row

column

Property
Type
number

The active column a display client renders to in a tiled display setup.

The camera is subdivided in rows and columns, and this client will render the given column.

Default value
0

columns

Property
Type
number

The number of columns to decompose the camera in a tiled display setup.

Default value
1

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

row

Property
Type
number

The active row a display client renders to in a tiled display setup.

The camera is subdivided in rows and columns, and this client will render the given row.

Default value
0

rows

Property
Type
number

The number of rows to decompose the camera in a tiled display setup.

Default value
1

Methods

MethodSignatureClass
clone
inherited
clone(): this

clone

inherited Method
Signature
clone (): this
Inherited from: ClonableMixin

Creates a deep clone of this object. Any properties that store values by reference will be assigned copies of the referenced values on the cloned instance.

Returns
this

A deep clone of the class instance that invoked this method.