File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { VideoLayerRenderer } from '@supermap/iclient-common/overlay/video/Video
9
9
* @class VideoLayer
10
10
* @category Visualization Video
11
11
* @modulecategory Overlay
12
- * @param {string } name - 图层名称。
13
12
* @param {Object } options - 构造参数。
14
13
* @param {string } [options.id] - 专题图层 ID。默认使用 CommonUtil.createUniqueID("VideoLayer_") 创建专题图层 ID。
15
14
* @param {string } [options.url] - 视频 或 流链接。支持 flv, m3u8 流格式。
@@ -19,11 +18,10 @@ import { VideoLayerRenderer } from '@supermap/iclient-common/overlay/video/Video
19
18
*/
20
19
export class VideoLayer extends mapboxgl . Evented {
21
20
22
- constructor ( name , options ) {
21
+ constructor ( options ) {
23
22
super ( ) ;
24
23
var _options = options ? options : { } ;
25
24
this . options = _options ;
26
- this . name = name ;
27
25
this . url = this . options . url ;
28
26
this . extent = this . options . extent ;
29
27
this . id = _options . id ? _options . id : CommonUtil . createUniqueID ( "VideoLayer_" ) ;
You can’t perform that action at this time.
0 commit comments