@syncfusion/ej2-maps 23.1.44 → 23.2.7
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 +6 -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 +18 -18
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +18 -18
- 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 +12 -12
- package/src/maps/layers/navigation-selected-line.js +16 -16
- package/src/maps/maps.js +2 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.
|
|
3
|
+
* version : 23.2.7
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@23.
|
|
3
|
+
"_id": "@syncfusion/ej2-maps@23.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-pP7nlBwjL//N7mrbliAsjf2LVrx7Dr+qkj5mHab9ekMu2UR5OwJ3GkSjL0CfYUqaTPAYjxnVXJlh4I6rMn/ZzQ==",
|
|
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-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-23.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-23.2.4.tgz",
|
|
27
|
+
"_shasum": "84a7b5a26630bc3a334b34466283014291a5283e",
|
|
28
28
|
"_spec": "@syncfusion/ej2-maps@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~23.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~23.
|
|
40
|
-
"@syncfusion/ej2-compression": "~23.
|
|
41
|
-
"@syncfusion/ej2-data": "~23.
|
|
42
|
-
"@syncfusion/ej2-file-utils": "~23.
|
|
43
|
-
"@syncfusion/ej2-pdf-export": "~23.
|
|
44
|
-
"@syncfusion/ej2-svg-base": "~23.
|
|
38
|
+
"@syncfusion/ej2-base": "~23.2.6",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~23.2.7",
|
|
40
|
+
"@syncfusion/ej2-compression": "~23.2.4",
|
|
41
|
+
"@syncfusion/ej2-data": "~23.2.4",
|
|
42
|
+
"@syncfusion/ej2-file-utils": "~23.2.4",
|
|
43
|
+
"@syncfusion/ej2-pdf-export": "~23.2.6",
|
|
44
|
+
"@syncfusion/ej2-svg-base": "~23.2.5"
|
|
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": "23.
|
|
96
|
+
"version": "23.2.7",
|
|
97
97
|
"sideEffects": false
|
|
98
98
|
}
|
|
@@ -52,17 +52,17 @@ var NavigationLine = /** @class */ (function () {
|
|
|
52
52
|
id: this.maps.element.id + '_LayerIndex_' + layerIndex + '_line_Group'
|
|
53
53
|
}));
|
|
54
54
|
for (var i = 0; i < navigation.length; i++) {
|
|
55
|
-
latitude = navigation[i]
|
|
56
|
-
longitude = navigation[i]
|
|
57
|
-
visible = navigation[i][
|
|
58
|
-
angle = navigation[i][
|
|
59
|
-
width = navigation[i]
|
|
60
|
-
color = navigation[i]
|
|
61
|
-
dashArray = navigation[i]
|
|
62
|
-
arrowSettings = navigation[i]
|
|
63
|
-
showArrow =
|
|
64
|
-
if (longitude
|
|
65
|
-
for (var i_1 = 0; i_1 < longitude
|
|
55
|
+
latitude = navigation[i].latitude;
|
|
56
|
+
longitude = navigation[i].longitude;
|
|
57
|
+
visible = !isNullOrUndefined(navigation[i].visible) ? navigation[i].visible : false;
|
|
58
|
+
angle = !isNullOrUndefined(navigation[i].angle) ? navigation[i].angle : 0;
|
|
59
|
+
width = navigation[i].width || 1;
|
|
60
|
+
color = navigation[i].color;
|
|
61
|
+
dashArray = navigation[i].dashArray;
|
|
62
|
+
arrowSettings = navigation[i].arrowSettings;
|
|
63
|
+
showArrow = !isNullOrUndefined(arrowSettings) ? arrowSettings.showArrow : false;
|
|
64
|
+
if (longitude.length === latitude.length && visible) {
|
|
65
|
+
for (var i_1 = 0; i_1 < longitude.length; i_1++) {
|
|
66
66
|
var location_1 = (this.maps.isTileMap) ? convertTileLatLongToPoint(new Point(longitude[i_1], latitude[i_1]), factor, this.maps.tileTranslatePoint, true) : convertGeoToPoint(latitude[i_1], longitude[i_1], factor, layer, this.maps);
|
|
67
67
|
point.push(location_1);
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var NavigationLine = /** @class */ (function () {
|
|
|
70
70
|
navigationGroup = (this.maps.renderer.createGroup({
|
|
71
71
|
id: this.maps.element.id + '_LayerIndex_' + layerIndex + '_NavigationGroup' + i + ''
|
|
72
72
|
}));
|
|
73
|
-
for (var j = 0; j < point
|
|
73
|
+
for (var j = 0; j < point.length - 1; j++) {
|
|
74
74
|
angle = (-1 > angle) ? -1 : angle;
|
|
75
75
|
angle = (1 < angle) ? 1 : angle;
|
|
76
76
|
var arcId = this.maps.element.id + '_LayerIndex_' + layerIndex + '_NavigationIndex_' + i + '_Line' + j + '';
|
|
@@ -88,11 +88,11 @@ var NavigationLine = /** @class */ (function () {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
if (showArrow) {
|
|
91
|
-
arrowColor = arrowSettings
|
|
92
|
-
arrowSize = arrowSettings
|
|
93
|
-
offSetValue = (arrowSettings
|
|
91
|
+
arrowColor = arrowSettings.color;
|
|
92
|
+
arrowSize = arrowSettings.size;
|
|
93
|
+
offSetValue = !isNullOrUndefined(arrowSettings.offSet) ? arrowSettings.offSet : 0;
|
|
94
94
|
var divide = (Math.round(arrowSize / 2));
|
|
95
|
-
arrowPosition = arrowSettings
|
|
95
|
+
arrowPosition = arrowSettings.position;
|
|
96
96
|
startArrow = (arrowPosition === 'Start') ? 'url(#triangle' + i + ')' : null;
|
|
97
97
|
endArrow = (arrowPosition === 'End') ? 'url(#triangle' + i + ')' : null;
|
|
98
98
|
if (offSet !== 0 && angle === 0) {
|
package/src/maps/maps.js
CHANGED
|
@@ -2354,8 +2354,8 @@ var Maps = /** @class */ (function (_super) {
|
|
|
2354
2354
|
for (var _a = 0, navigationLine_1 = navigationLine; _a < navigationLine_1.length; _a++) {
|
|
2355
2355
|
var navigation = navigationLine_1[_a];
|
|
2356
2356
|
if (navigation.visible) {
|
|
2357
|
-
isSelection = navigation.highlightSettings.enable || isSelection;
|
|
2358
|
-
isHighlight = navigation.selectionSettings.enable || isHighlight;
|
|
2357
|
+
isSelection = (!isNullOrUndefined(navigation.highlightSettings) && navigation.highlightSettings.enable) || isSelection;
|
|
2358
|
+
isHighlight = (!isNullOrUndefined(navigation.selectionSettings) && navigation.selectionSettings.enable) || isHighlight;
|
|
2359
2359
|
}
|
|
2360
2360
|
}
|
|
2361
2361
|
for (var _b = 0, markers_1 = markers; _b < markers_1.length; _b++) {
|