File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,18 @@ import {LogoBase64} from '@supermap/iclient-common/control/img/Logo';
5
5
/**
6
6
* @class mapboxgl.supermap.LogoControl
7
7
* @category Control
8
- * @classdesc Logo控件 。默认不显示。
8
+ * @classdesc Logo 控件 。默认不显示。
9
9
*
10
10
* @example
11
11
* (start code)
12
12
* map.addControl(new mapboxgl.supermap.LogoControl(),'bottom-right');
13
13
* (end)
14
- * @param {Object } options - logo控件配置项 。
15
- * @param {string } [options.imageUrl] - logo图片地址 。
16
- * @param {string } [options.width] - logo图片宽 。
17
- * @param {string } [options.height] - logo图片高 。
18
- * @param {string } [options.link] - logo图片跳转链接 。
19
- * @param {string } [options.alt='SuperMap iClient'] - logo图片失效时显示文本 。
14
+ * @param {Object } options - logo 控件配置项 。
15
+ * @param {string } [options.imageUrl] - logo 图片地址 。
16
+ * @param {string } [options.width] - logo 图片宽 。
17
+ * @param {string } [options.height] - logo 图片高 。
18
+ * @param {string } [options.link] - logo 图片跳转链接 。
19
+ * @param {string } [options.alt='SuperMap iClient'] - logo 图片失效时显示文本 。
20
20
*/
21
21
export class Logo {
22
22
constructor ( options ) {
@@ -35,8 +35,8 @@ export class Logo {
35
35
36
36
/**
37
37
* @function mapboxgl.supermap.LogoControl.prototype.onAdd
38
- * @description 添加一个logo 。
39
- * @returns {div } 返回创建的logo元素 。
38
+ * @description 添加一个 logo 。
39
+ * @returns {div } 返回创建的 logo 元素 。
40
40
*/
41
41
onAdd ( map ) {
42
42
this . _map = map ;
You can’t perform that action at this time.
0 commit comments