@syncfusion/ej2-maps 23.2.4 → 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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.2.4
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.1.44",
3
+ "_id": "@syncfusion/ej2-maps@23.2.4",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-EwIhQkom40bm/dCvfLYeUp3OYkDlgtxuKYObYtkPqXJoRdubM+lGukxqatz/GDA/xH6dYhEebQFp6++vvB24Wg==",
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.1.44.tgz",
27
- "_shasum": "1f62a2617e0ed4ce7f3926baaade40dc8ac944a0",
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.2.4",
39
- "@syncfusion/ej2-buttons": "~23.2.4",
38
+ "@syncfusion/ej2-base": "~23.2.6",
39
+ "@syncfusion/ej2-buttons": "~23.2.7",
40
40
  "@syncfusion/ej2-compression": "~23.2.4",
41
41
  "@syncfusion/ej2-data": "~23.2.4",
42
42
  "@syncfusion/ej2-file-utils": "~23.2.4",
43
- "@syncfusion/ej2-pdf-export": "~23.2.4",
44
- "@syncfusion/ej2-svg-base": "~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.2.4",
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]['properties']['latitude'];
56
- longitude = navigation[i]['properties']['longitude'];
57
- visible = navigation[i]['properties']['visible'];
58
- angle = navigation[i]['angle'];
59
- width = navigation[i]['width'] || 1;
60
- color = navigation[i]['color'];
61
- dashArray = navigation[i]['properties']['dashArray'];
62
- arrowSettings = navigation[i]['properties']['arrowSettings'];
63
- showArrow = (isNullOrUndefined(arrowSettings)) ? false : arrowSettings['properties']['showArrow'];
64
- if (longitude['length'] === latitude['length'] && visible) {
65
- for (var i_1 = 0; i_1 < longitude['length']; i_1++) {
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['length'] - 1; j++) {
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['properties']['color'];
92
- arrowSize = arrowSettings['properties']['size'];
93
- offSetValue = (arrowSettings['properties']['offSet'] === undefined) ? 0 : arrowSettings['properties']['offSet'];
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['properties']['position'];
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++) {