Appearance
Terrain Object
The terrain array contains terrain data for site context. The array always contains exactly one object with terrain parameters.
Terrain Array
| Key | Type | Description |
|---|---|---|
parameters | Object | Terrain parameters object defining the terrain properties. |
Parameters Object
Each terrain object contains a parameters object with the following properties:
| Key | Type | Description |
|---|---|---|
currentYPosition | Number | Current Y position of the terrain. |
cutOperationData | Object|null | Data for cut operations on the terrain. |
fade | Number | Fade value for terrain blending. |
fillOperationData | Object|null | Data for fill operations on the terrain. |
groundHeight | Number | Height of the ground level. |
isHeightMapEnabled | Boolean | Whether height map is enabled for the terrain. |
isLoadedviaAIWorkflow | Boolean | Whether the terrain was loaded via AI workflow. |
isLocked | Boolean | Whether the terrain is locked from editing. |
isSatelliteEnabled | Boolean | Whether satellite imagery is enabled. |
layerId | String | ID of the layer this terrain belongs to. |
mapCenter | Object | Map center coordinates {lng: Number, lat: Number}. |
mapZoom | Number | Zoom level of the map. |
neighborhoodLayer | String | ID of the neighborhood layer. |
opacity | Number | Opacity value (0-1). |
operationOrder | Array|null | Order of terrain operations. |
storey | Number | Storey index. |
structure | String | Structure ID this terrain belongs to. |
terrainGeoCoordinates | String | Geographical coordinates in degrees, minutes, seconds format. |
uniqueId | Number | Unique identifier for the terrain. |
defaultPosition | Array<Number> | Default position [x, y, z]. |
defaultRotation | Array<Number> | Default rotation quaternion [x, y, z, w]. |
mapBounds | Object | Map bounding box with corners {_ne: Object, _nw: Object, _se: Object, _sw: Object}. |
rotationQuaternion | Array<Number> | Rotation quaternion [x, y, z, w]. |
terrainPosition | Array<Number> | Terrain position [x, y, z]. |