Skip to content

Commit 6895c3f

Browse files
add videoLayer doc
1 parent ca5b6ab commit 6895c3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mapboxgl/overlay/VideoLayer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { bbox, polygon } from '@turf/turf';
1313
* @param {Object} options - 构造参数。
1414
* @param {string} options.url - 视频 或 流链接。支持 flv, m3u8 流格式。
1515
* @param {Array} options.extent - 视频范围。
16+
* @param {Object} [options.opencv] - opencv.js 实例。
1617
* @param {string} [options.id] - 视频图层 ID。默认使用 CommonUtil.createUniqueID("VideoLayer_") 创建专题图层 ID。
1718
* @extends {mapboxgl.Evented}
1819
* @usage

0 commit comments

Comments
 (0)