@syncfusion/ej2-maps 28.2.5 → 28.2.9

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 : 28.2.5
3
+ * version : 28.2.9
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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-maps@*",
3
- "_id": "@syncfusion/ej2-maps@28.2.3",
3
+ "_id": "@syncfusion/ej2-maps@28.2.6",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-rZziAFgCWk6q099arl9zJo7ZZjDqTeyscGAw9LgtN7netyQPE2Vif1K672XryILtoIDp+NyPTJ6LCT2C0/MdHA==",
5
+ "_integrity": "sha512-xX75B2KaDwXt7tn/swZhDNqxlRsSd52P/+n0g96715/mVWVGwdMEEiXxxYzryRoGx0fs26nhprGmvGl6qbh+lw==",
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-28.2.3.tgz",
27
- "_shasum": "f5892863e5c44c39f076ad37c633eb8de71c05c5",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-28.2.6.tgz",
27
+ "_shasum": "1fb1958d38bd44143abd4e04c0d2df3b3378ea31",
28
28
  "_spec": "@syncfusion/ej2-maps@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
30
30
  "author": {
@@ -35,8 +35,8 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~28.2.5",
39
- "@syncfusion/ej2-buttons": "~28.2.3",
38
+ "@syncfusion/ej2-base": "~28.2.9",
39
+ "@syncfusion/ej2-buttons": "~28.2.7",
40
40
  "@syncfusion/ej2-compression": "~28.2.3",
41
41
  "@syncfusion/ej2-data": "~28.2.3",
42
42
  "@syncfusion/ej2-file-utils": "~28.2.3",
@@ -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": "28.2.5",
96
+ "version": "28.2.9",
97
97
  "sideEffects": false
98
98
  }
@@ -139,7 +139,7 @@ var DataLabel = /** @class */ (function () {
139
139
  }
140
140
  }
141
141
  text = (!isNullOrUndefined(datasrcObj)) ? !isNullOrUndefined(datasrcObj[labelpath]) ?
142
- datasrcObj[labelpath].toString() : datasrcObj[layer.shapeDataPath] : shapeData['properties'][labelpath];
142
+ datasrcObj[labelpath].toString() : shapeData['properties'][labelpath] || datasrcObj[layer.shapeDataPath] : shapeData['properties'][labelpath];
143
143
  if ((Object.prototype.toString.call(layer.shapePropertyPath) === '[object Array]') &&
144
144
  (isNullOrUndefined(text) && (!isNullOrUndefined(layer.dataSource) && layer.dataSource['length'] === 0))) {
145
145
  for (var l = 0; l < layer.shapePropertyPath.length; l++) {
@@ -1450,7 +1450,9 @@ var Legend = /** @class */ (function () {
1450
1450
  var imageSrc = null;
1451
1451
  var showLegend = isNullOrUndefined(data[_this.maps.legendSettings.showLegendPath]) ? true :
1452
1452
  data[_this.maps.legendSettings.showLegendPath];
1453
- if (marker.visible && showLegend && (!isNullOrUndefined(data['latitude'])) && (!isNullOrUndefined(data['longitude']))) {
1453
+ var latitude = !isNullOrUndefined(data['latitude']) || !isNullOrUndefined(data['Latitude']) || !isNullOrUndefined(data[marker.latitudeValuePath]);
1454
+ var longitude = !isNullOrUndefined(data['longitude']) || !isNullOrUndefined(data['Longitude']) || !isNullOrUndefined(data[marker.longitudeValuePath]);
1455
+ if (marker.visible && showLegend && latitude && longitude) {
1454
1456
  if (marker.template) {
1455
1457
  templateFn = getTemplateFunction(marker.template, _this.maps);
1456
1458
  var templateElement = templateFn(_this.maps);