mars2d-esri 3.3.2 → 3.3.3
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/mars2d-esri.js +8 -3
- package/package.json +2 -2
package/mars2d-esri.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars2D平台插件,ArcGIS Server功能支持插件 mars2d-esri
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.3.
|
|
5
|
-
* 编译日期:2025-
|
|
4
|
+
* 版本信息:v3.3.3
|
|
5
|
+
* 编译日期:2025-08-03 20:20
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars2d.cn
|
|
7
7
|
* 使用单位:免费公开版 ,2024-01-16
|
|
8
8
|
*/
|
|
@@ -6465,7 +6465,12 @@
|
|
|
6465
6465
|
if (isselected && icoOpt.iconUrlForSelect) {
|
|
6466
6466
|
icoOpt.iconUrl = icoOpt.iconUrlForSelect;
|
|
6467
6467
|
}
|
|
6468
|
-
if (icoOpt.hasOwnProperty("
|
|
6468
|
+
if (icoOpt.hasOwnProperty("image")) {
|
|
6469
|
+
symbol.icon = L__default["default"].icon({
|
|
6470
|
+
iconUrl: icoOpt.image,
|
|
6471
|
+
...icoOpt
|
|
6472
|
+
});
|
|
6473
|
+
} else if (icoOpt.hasOwnProperty("iconUrl")) {
|
|
6469
6474
|
symbol.icon = L__default["default"].icon(icoOpt);
|
|
6470
6475
|
} else if (icoOpt.hasOwnProperty("iconFont")) {
|
|
6471
6476
|
let fontsize = 20;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars2d-esri",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"description": "Mars2D平台插件,ArcGIS Server功能支持插件",
|
|
5
5
|
"main": "./mars2d-esri.js",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"mars2d": "~3.3.
|
|
8
|
+
"mars2d": "~3.3.3"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|