File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 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
99 * @class VideoLayer
1010 * @category Visualization Video
1111 * @modulecategory Overlay
12- * @param {string } name - 图层名称。
1312 * @param {Object } options - 构造参数。
1413 * @param {string } [options.id] - 专题图层 ID。默认使用 CommonUtil.createUniqueID("VideoLayer_") 创建专题图层 ID。
1514 * @param {string } [options.url] - 视频 或 流链接。支持 flv, m3u8 流格式。
@@ -19,11 +18,10 @@ import { VideoLayerRenderer } from '@supermap/iclient-common/overlay/video/Video
1918 */
2019export class VideoLayer extends mapboxgl . Evented {
2120
22- constructor ( name , options ) {
21+ constructor ( options ) {
2322 super ( ) ;
2423 var _options = options ? options : { } ;
2524 this . options = _options ;
26- this . name = name ;
2725 this . url = this . options . url ;
2826 this . extent = this . options . extent ;
2927 this . id = _options . id ? _options . id : CommonUtil . createUniqueID ( "VideoLayer_" ) ;
You can’t perform that action at this time.
0 commit comments