Use dark colors for code blocks Copy
1
import "@arcgis/map-components/components/arcgis-video";
No specific import is needed for this component.
The ArcGIS Video component provides a view for displaying video feeds from a VideoLayer. It is designed to render and interact with video layers.
A Video component must have a valid VideoLayer. It supports various features such as navigating, zooming, and panning, making it suitable for applications that require interactive video overlays.
Properties autoDestroyDisabledProperty
autoDestroyDisabled: boolean
Property
The VideoLayer to display in the view.
Property
A reference to the associated Map or WebMap.
readonlyProperty
ready: boolean
When true
, this property indicates whether the view successfully satisfied all dependencies, signaling that the following conditions are met.
readonlyProperty
The VideoView instance created and manged by the component. Accessible once the component is fully loaded.
No slots to display.
Events arcgisViewReadyChangeEvent
arcgisViewReadyChange: CustomEvent<void>
bubbles
Events triggered on this element will be propagated to their outermost elements.
composedThe event is composable and will propagate across the shadow DOM into the standard DOM.
cancelableThe event's default behavior can be canceled, allowing for custom behavior to be implemented instead.
Methods componentOnReadyMethod
componentOnReady(): Promise<void>
Create a promise that resolves once component is fully loaded.
ExampleUse dark colors for code blocks Copy
1
2
3
4
const arcgisVideo = document.querySelector("arcgis-video");
document.body.append(arcgisVideo);
await arcgisVideo.componentOnReady();
console.log("arcgis-video is ready to go!");
Method
destroy(): Promise<void>
Destroys the view, and any associated resources, including its map, popup, and UI elements.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4