VCanvasSource
CanvasSource component.
<v-canvas-source
ref="canvasRef"
id="canvas-source-id"
:animate="animate"
:coordinates="coordinates"
/>
Example
Init Map
Render v-canvas-source component.
Property
| Property | Required | Type | Description |
|---|---|---|---|
| id | true | string | source id |
| ref | false | HTMLElement | expose canvas from component to operate canvas |
| animate | true | boolean | is animating when mounted |
| coordinates | true | lngLat[] | canvas coordinates |
