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';
55/**
66 * @class mapboxgl.supermap.LogoControl
77 * @category Control
8- * @classdesc Logo控件 。默认不显示。
8+ * @classdesc Logo 控件 。默认不显示。
99 *
1010 * @example
1111 * (start code)
1212 * map.addControl(new mapboxgl.supermap.LogoControl(),'bottom-right');
1313 * (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 图片失效时显示文本 。
2020 */
2121export class Logo {
2222 constructor ( options ) {
@@ -35,8 +35,8 @@ export class Logo {
3535
3636 /**
3737 * @function mapboxgl.supermap.LogoControl.prototype.onAdd
38- * @description 添加一个logo 。
39- * @returns {div } 返回创建的logo元素 。
38+ * @description 添加一个 logo 。
39+ * @returns {div } 返回创建的 logo 元素 。
4040 */
4141 onAdd ( map ) {
4242 this . _map = map ;
You can’t perform that action at this time.
0 commit comments