UNPKG

vue-mapbox

Version:

> Combine powers of [Vue.js](https://vuejs.org/) and [Mapbox Gl JS](https://mapbox.com/mapbox-gl-js)

25 lines (16 loc) 623 B
# CanvasLayer ## Props All common [layers props](/api/Layers/README.md#props) ### `source` - **Type:** `Object | String` - **Non-Synced** - **Description:** A data source containing video. - **See:** `Video source` in [Mapbox API Docs](https://docs.mapbox.com/mapbox-gl-js/api/#videosource) ::: tip Reactivity `coordinates` field of the `source` prop is reactive. If you change it's value, changes automatically applied to the map. ::: ## Computed getters ### `video` - **Description** Returns the HTML video element. - **See** `.getVideo()` [method](https://docs.mapbox.com/mapbox-gl-js/api/#videosource#getvideo)