video_source
StablePlaces a video at four coordinates for a raster layer to draw.
No example yet
No openly licensed video could be found that is hosted to stay available and whose picture lines up with four points on a map.
See its attributesThe events this component sends to the LiveView, as the library documents them. Each arrives in handle_event/3.
-
source:added
Fired once, with
source_id, the first time the source is on the map (not again when a style change, or a map rendered again with the same id, puts it back) -
source:removed
Fired, with
source_id, once the source is gone after the component is removed, ifsource:addedwas fired -
source:error
Fired, with
source_idanderror, when MapLibre fails to add or replace the source