@syncfusion/ej2-maps 29.2.4 → 30.1.37
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/.eslintrc.json +2 -0
- package/dist/ej2-maps.min.js +2 -2
- package/dist/ej2-maps.umd.min.js +2 -2
- package/dist/ej2-maps.umd.min.js.map +1 -1
- package/dist/es6/ej2-maps.es2015.js +2 -4
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +2 -4
- package/dist/es6/ej2-maps.es5.js.map +1 -1
- package/dist/global/ej2-maps.min.js +2 -2
- package/dist/global/ej2-maps.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +18 -53
- package/src/maps/layers/legend.js +1 -1
- package/src/maps/utils/helper.js +1 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 30.1.37
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,53 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "@syncfusion/ej2-maps@*",
|
|
12
|
-
"name": "@syncfusion/ej2-maps",
|
|
13
|
-
"escapedName": "@syncfusion%2fej2-maps",
|
|
14
|
-
"scope": "@syncfusion",
|
|
15
|
-
"rawSpec": "*",
|
|
16
|
-
"saveSpec": null,
|
|
17
|
-
"fetchSpec": "*"
|
|
18
|
-
},
|
|
19
|
-
"_requiredBy": [
|
|
20
|
-
"/",
|
|
21
|
-
"/@syncfusion/ej2",
|
|
22
|
-
"/@syncfusion/ej2-angular-maps",
|
|
23
|
-
"/@syncfusion/ej2-react-maps",
|
|
24
|
-
"/@syncfusion/ej2-vue-maps"
|
|
25
|
-
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-29.1.33.tgz",
|
|
27
|
-
"_shasum": "7e9eeeca8fb65044a6bd17fff4f2446712ed3c34",
|
|
28
|
-
"_spec": "@syncfusion/ej2-maps@*",
|
|
29
|
-
"_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
|
|
30
|
-
"author": {
|
|
31
|
-
"name": "Syncfusion Inc."
|
|
32
|
-
},
|
|
33
|
-
"bugs": {
|
|
34
|
-
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
|
35
|
-
},
|
|
36
|
-
"bundleDependencies": false,
|
|
2
|
+
"name": "@syncfusion/ej2-maps",
|
|
3
|
+
"version": "30.1.37",
|
|
4
|
+
"description": "The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options",
|
|
5
|
+
"author": "Syncfusion Inc.",
|
|
6
|
+
"license": "SEE LICENSE IN license",
|
|
37
7
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~
|
|
39
|
-
"@syncfusion/ej2-buttons": "~
|
|
40
|
-
"@syncfusion/ej2-compression": "~
|
|
41
|
-
"@syncfusion/ej2-data": "~
|
|
42
|
-
"@syncfusion/ej2-file-utils": "~
|
|
43
|
-
"@syncfusion/ej2-pdf-export": "~
|
|
44
|
-
"@syncfusion/ej2-svg-base": "~
|
|
8
|
+
"@syncfusion/ej2-base": "~30.1.37",
|
|
9
|
+
"@syncfusion/ej2-buttons": "~30.1.37",
|
|
10
|
+
"@syncfusion/ej2-compression": "~30.1.37",
|
|
11
|
+
"@syncfusion/ej2-data": "~30.1.37",
|
|
12
|
+
"@syncfusion/ej2-file-utils": "~30.1.37",
|
|
13
|
+
"@syncfusion/ej2-pdf-export": "~30.1.37",
|
|
14
|
+
"@syncfusion/ej2-svg-base": "~30.1.37"
|
|
45
15
|
},
|
|
46
|
-
"deprecated": false,
|
|
47
|
-
"description": "The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options",
|
|
48
16
|
"devDependencies": {},
|
|
49
|
-
"es2015": "./dist/es6/ej2-maps.es5.js",
|
|
50
|
-
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
|
51
17
|
"keywords": [
|
|
52
18
|
"ej2",
|
|
53
19
|
"syncfusion",
|
|
@@ -84,15 +50,14 @@
|
|
|
84
50
|
"geometry-collection",
|
|
85
51
|
"feature-collection"
|
|
86
52
|
],
|
|
87
|
-
"license": "SEE LICENSE IN license",
|
|
88
|
-
"main": "./dist/ej2-maps.umd.min.js",
|
|
89
|
-
"module": "./index.js",
|
|
90
|
-
"name": "@syncfusion/ej2-maps",
|
|
91
53
|
"repository": {
|
|
92
54
|
"type": "git",
|
|
93
|
-
"url": "
|
|
55
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
94
56
|
},
|
|
57
|
+
"main": "./dist/ej2-maps.umd.min.js",
|
|
58
|
+
"module": "./index.js",
|
|
59
|
+
"es2015": "./dist/es6/ej2-maps.es5.js",
|
|
95
60
|
"typings": "index.d.ts",
|
|
96
|
-
"
|
|
97
|
-
"
|
|
61
|
+
"sideEffects": false,
|
|
62
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
98
63
|
}
|
|
@@ -638,7 +638,7 @@ var Legend = /** @class */ (function () {
|
|
|
638
638
|
this.maps.legendSettings.toggleLegendSettings.opacity :
|
|
639
639
|
this.maps.legendSettings.toggleLegendSettings.border.opacity, this.maps.legendSettings.toggleLegendSettings.fill);
|
|
640
640
|
}
|
|
641
|
-
else {
|
|
641
|
+
else if (currentItem[currentItem.length - 1].length > 0) {
|
|
642
642
|
var layerIndex = currentItem[currentItem.length - 1].layerIndex;
|
|
643
643
|
this.setToggleAttributes(legendTextElement, legendShapeElement, this.maps.layers[layerIndex].shapeSettings.fill, this.maps.layers[layerIndex].shapeSettings.opacity,
|
|
644
644
|
/* eslint-disable-next-line max-len */
|
package/src/maps/utils/helper.js
CHANGED
|
@@ -2767,9 +2767,7 @@ export function getElementsByClassName(className) {
|
|
|
2767
2767
|
*/
|
|
2768
2768
|
export function querySelector(args, elementSelector) {
|
|
2769
2769
|
var targetEle = null;
|
|
2770
|
-
|
|
2771
|
-
targetEle = document.getElementById(elementSelector).querySelector('#' + args);
|
|
2772
|
-
}
|
|
2770
|
+
targetEle = document.querySelector('#' + args);
|
|
2773
2771
|
return targetEle;
|
|
2774
2772
|
}
|
|
2775
2773
|
/**
|