VideoLayer provides video content from on-demand and livestream feeds from an ArcGIS Video Server.
Referenced by: operationalLayers
Properties
| Property | Details |
|---|---|
| autoplay | Indicates if the video layer is configured to start playback when ready. Default is false. |
| blendMode | Blend modes are used to create various effects by blending colors of top and background layers. normal blend mode is the default.Valid values: average, color, color-burn, color-dodge, darken, destination-atop, destination-in, destination-out, destination-over, difference, exclusion, hard-light, hue, invert, lighten, lighter, luminosity, minus, multiply, normal, overlay, plus, reflect, saturation, screen, soft-light, source-atop, source-in, source-out, vivid-light, xor |
| drawingInfo | Contains the drawing information. |
| effect | Effect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work. |
| frameEffect | Provides filter functions that can be performed on the video frame to achieve different visual effects. |
| frameOpacity | The opacity of the video frame draped on the map. Value can be a number between 0 and 1 where 0 is 100% transparent, 0.5 is 50% transparent and 1 is fully opaque. Default is 1. |
| id | A unique identifying string for the layer. |
| itemId | Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal. |
| layerType | String indicating the layer type. Valid value of this property ArcGISVideoLayer |
| maxScale | A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator. |
| minScale | A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator. |
| muted | Indicates if the video layer is muted. Default is true. |
| opacity | The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency. Default is 1. |
| start | The start property defines the playback start time in seconds since the beginning of the video. Default is 0. |
| telemetryDisplay | Defines what telemetry graphics to display on the map. |
| title | A user-friendly string title for the layer that can be used in a table of contents. |
| url | The URL to a layer in a video service. |
| visibility | Boolean property determining whether the layer is initially visible in the web map. Default is true. |
| visibilityTimeExtent | Represents time extent that will control when a layer should be visible based on webmap's current time. Visibility time extent only affects the layer visibility and will not filter the data. |
Example
{
"id": "VideoLayer_6970",
"layerType": "ArcGISVideoLayer",
"autoplay": false,
"blendMode": "normal",
"drawingInfo": {
"sensorSymbol": {
"color": [
170,
170,
170,
255
],
"size": 6,
"angle": 0,
"xoffset": 0,
"yoffset": 0,
"type": "esriSMS",
"style": "esriSMSCircle",
"outline": {
"color": [
153,
153,
153,
255
],
"width": 0.375,
"type": "esriSLS",
"style": "esriSLSSolid"
}
}
},
"frameOpacity": 1,
"itemId": "ef2644781da844648e8cc30ab52a02bc",
"muted": true,
"opacity": 1,
"start": 0,
"telemetryDisplay": {
"frame": true,
"frameCenter": true,
"frameOutline": true,
"lineOfSight": true,
"sensorLocation": true,
"sensorTrail": true
},
"title": "Cheyenne Video Layer",
"url": "https://dev000276.esri.com/video/rest/services/cheyenne1/VideoServer/0",
"visibility": true
}