import CameraLayout from "@arcgis/core/CameraLayout.js";const CameraLayout = await $arcgis.import("@arcgis/core/CameraLayout.js");- Inheritance:
- CameraLayout→
Accessor
- 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
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
Properties
column
- 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
- Type
- number
The number of columns to decompose the camera in a tiled display setup.
- Default value
- 1
row
- 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
- Type
- number
The number of rows to decompose the camera in a tiled display setup.
- Default value
- 1
Methods
| Method | Signature | Class |
|---|---|---|
clone inherited | clone(): this |
clone
- Signature
-
clone (): this
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.