Skip to content

Commit c7c66ad

Browse files
去除 videolayer name
1 parent 50eca51 commit c7c66ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mapboxgl/overlay/VideoLayer.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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
*/
2019
export 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_");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy