@syncfusion/ej2-maps 22.1.34 → 22.1.39
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/CHANGELOG.md +8 -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 +6 -3
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +6 -3
- 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 +10 -10
- package/src/maps/maps.js +6 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 22.1.
|
|
3
|
+
* version : 22.1.39
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-maps@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-maps@
|
|
3
|
+
"_id": "@syncfusion/ej2-maps@22.1.34",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-grKyF3wFhJpbBFSpurYs9HKWBsKLwDJX6waaF9DxkGbJvjYW75PiOd7RAlp5CMvXpgt4L1iFmxArnf3rWNBJHw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-maps",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-maps",
|
|
24
24
|
"/@syncfusion/ej2-vue-maps"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-22.1.34.tgz",
|
|
27
|
+
"_shasum": "e543bb7ceae9fe4a1c1240b47551a6d129610516",
|
|
28
28
|
"_spec": "@syncfusion/ej2-maps@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~22.1.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~22.1.
|
|
38
|
+
"@syncfusion/ej2-base": "~22.1.38",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~22.1.39",
|
|
40
40
|
"@syncfusion/ej2-compression": "~22.1.34",
|
|
41
|
-
"@syncfusion/ej2-data": "~22.1.
|
|
41
|
+
"@syncfusion/ej2-data": "~22.1.38",
|
|
42
42
|
"@syncfusion/ej2-file-utils": "~22.1.34",
|
|
43
|
-
"@syncfusion/ej2-pdf-export": "~22.1.
|
|
44
|
-
"@syncfusion/ej2-svg-base": "~22.1.
|
|
43
|
+
"@syncfusion/ej2-pdf-export": "~22.1.39",
|
|
44
|
+
"@syncfusion/ej2-svg-base": "~22.1.39"
|
|
45
45
|
},
|
|
46
46
|
"deprecated": false,
|
|
47
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",
|
|
@@ -93,6 +93,6 @@
|
|
|
93
93
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
94
94
|
},
|
|
95
95
|
"typings": "index.d.ts",
|
|
96
|
-
"version": "22.1.
|
|
96
|
+
"version": "22.1.39",
|
|
97
97
|
"sideEffects": false
|
|
98
98
|
}
|
package/src/maps/maps.js
CHANGED
|
@@ -592,9 +592,12 @@ var Maps = /** @class */ (function (_super) {
|
|
|
592
592
|
Maps.prototype.setSecondaryElementPosition = function () {
|
|
593
593
|
var element = getElementByID(this.element.id + '_Secondary_Element');
|
|
594
594
|
var rect = this.element.getBoundingClientRect();
|
|
595
|
-
var
|
|
596
|
-
|
|
597
|
-
|
|
595
|
+
var svgElement = getElementByID(this.element.id + '_svg');
|
|
596
|
+
if (!isNullOrUndefined(svgElement)) {
|
|
597
|
+
var svgRect = svgElement.getBoundingClientRect();
|
|
598
|
+
element.style.left = Math.max(svgRect.left - rect.left, 0) + 'px';
|
|
599
|
+
element.style.top = Math.max(svgRect.top - rect.top, 0) + 'px';
|
|
600
|
+
}
|
|
598
601
|
};
|
|
599
602
|
Maps.prototype.zoomingChange = function () {
|
|
600
603
|
var left;
|