raintee-maputils 1.0.32 → 1.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +21 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6990,10 +6990,10 @@ class RasterLayerControl {
|
|
|
6990
6990
|
|
|
6991
6991
|
// 标题
|
|
6992
6992
|
const title = document.createElement('div');
|
|
6993
|
-
title.textContent = '🗂
|
|
6993
|
+
title.textContent = '🗂 点击切换底图(影像栅格瓦片图层)';
|
|
6994
6994
|
title.style.fontWeight = 'bold';
|
|
6995
|
-
title.style.marginBottom = '
|
|
6996
|
-
title.style.fontSize = '
|
|
6995
|
+
title.style.marginBottom = '0.5rem';
|
|
6996
|
+
title.style.fontSize = '1rem';
|
|
6997
6997
|
this._dialog.appendChild(title);
|
|
6998
6998
|
|
|
6999
6999
|
// 图层列表容器(原 _layerListContainer)
|
|
@@ -7006,24 +7006,24 @@ class RasterLayerControl {
|
|
|
7006
7006
|
`;
|
|
7007
7007
|
this._dialog.appendChild(this._layerListContainer);
|
|
7008
7008
|
|
|
7009
|
-
// 关闭按钮(可选增强)
|
|
7010
|
-
const closeButton = document.createElement('button');
|
|
7011
|
-
closeButton.textContent = '✅ 关闭';
|
|
7012
|
-
closeButton.style.cssText = `
|
|
7013
|
-
margin-left: auto;
|
|
7014
|
-
margin-right: auto;
|
|
7015
|
-
margin-top: 15px;
|
|
7016
|
-
padding: 6px 12px;
|
|
7017
|
-
background: #6c757d;
|
|
7018
|
-
color: white;
|
|
7019
|
-
border: none;
|
|
7020
|
-
border-radius: 4px;
|
|
7021
|
-
cursor: pointer;
|
|
7022
|
-
|
|
7023
|
-
closeButton.addEventListener('click', () => {
|
|
7024
|
-
|
|
7025
|
-
});
|
|
7026
|
-
this._dialog.appendChild(closeButton);
|
|
7009
|
+
// // 关闭按钮(可选增强)
|
|
7010
|
+
// const closeButton = document.createElement('button');
|
|
7011
|
+
// closeButton.textContent = '✅ 关闭';
|
|
7012
|
+
// closeButton.style.cssText = `
|
|
7013
|
+
// margin-left: auto;
|
|
7014
|
+
// margin-right: auto;
|
|
7015
|
+
// margin-top: 15px;
|
|
7016
|
+
// padding: 6px 12px;
|
|
7017
|
+
// background: #6c757d;
|
|
7018
|
+
// color: white;
|
|
7019
|
+
// border: none;
|
|
7020
|
+
// border-radius: 4px;
|
|
7021
|
+
// cursor: pointer;
|
|
7022
|
+
// `;
|
|
7023
|
+
// closeButton.addEventListener('click', () => {
|
|
7024
|
+
// this._closePanel();
|
|
7025
|
+
// });
|
|
7026
|
+
// this._dialog.appendChild(closeButton);
|
|
7027
7027
|
|
|
7028
7028
|
this._panel.appendChild(this._dialog);
|
|
7029
7029
|
document.body.appendChild(this._panel);
|