@syncfusion/ej2-maps 22.2.5 → 22.2.8

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 : 22.2.5
3
+ * version : 22.2.8
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@22.1.34",
3
+ "_id": "@syncfusion/ej2-maps@22.2.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-grKyF3wFhJpbBFSpurYs9HKWBsKLwDJX6waaF9DxkGbJvjYW75PiOd7RAlp5CMvXpgt4L1iFmxArnf3rWNBJHw==",
5
+ "_integrity": "sha512-2ujWL1A6ZAjiqFnt64NJckR3+ipLQ4GfYL+oZsfFl2eoJnxJp3mpW8PSv8YCP33ZDQs49HhLZEcv56TFhtFpCQ==",
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-22.1.34.tgz",
27
- "_shasum": "e543bb7ceae9fe4a1c1240b47551a6d129610516",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-22.2.5.tgz",
27
+ "_shasum": "a26db405fe74df77f71b2007dc2d8c77d6dab16e",
28
28
  "_spec": "@syncfusion/ej2-maps@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
30
30
  "author": {
@@ -36,12 +36,12 @@
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
38
  "@syncfusion/ej2-base": "~22.2.5",
39
- "@syncfusion/ej2-buttons": "~22.2.5",
39
+ "@syncfusion/ej2-buttons": "~22.2.8",
40
40
  "@syncfusion/ej2-compression": "~22.2.5",
41
41
  "@syncfusion/ej2-data": "~22.2.5",
42
42
  "@syncfusion/ej2-file-utils": "~22.2.5",
43
43
  "@syncfusion/ej2-pdf-export": "~22.2.5",
44
- "@syncfusion/ej2-svg-base": "~22.2.5"
44
+ "@syncfusion/ej2-svg-base": "~22.2.8"
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.2.5",
96
+ "version": "22.2.8",
97
97
  "sideEffects": false
98
98
  }
@@ -623,8 +623,14 @@ var LayerPanel = /** @class */ (function () {
623
623
  }
624
624
  pathEle.setAttribute('aria-label', ((!isNullOrUndefined(currentShapeData['property'])) ?
625
625
  (currentShapeData['property'][properties]) : ''));
626
- pathEle.tabIndex = this.mapObject.tabIndex + index + 3;
627
- pathEle.setAttribute('role', '');
626
+ if (this.currentLayer.selectionSettings.enable || this.currentLayer.highlightSettings.enable) {
627
+ pathEle.tabIndex = this.mapObject.tabIndex + index + 3;
628
+ pathEle.setAttribute('role', 'button');
629
+ pathEle.style.cursor = this.currentLayer.highlightSettings.enable && !this.currentLayer.selectionSettings.enable ? 'default' : 'pointer';
630
+ }
631
+ else {
632
+ pathEle.setAttribute('role', 'region');
633
+ }
628
634
  if (drawingType === 'LineString' || drawingType === 'MultiLineString') {
629
635
  pathEle.style.cssText = 'outline:none';
630
636
  }
@@ -1322,7 +1322,7 @@ export function markerTemplate(eventArgs, templateFn, markerID, data, markerInde
1322
1322
  var templateElement = templateFn(data, maps, eventArgs.template, maps.element.id + '_MarkerTemplate' + markerIndex, false);
1323
1323
  var markerElement = convertElement(templateElement, markerID, data, markerIndex, maps);
1324
1324
  for (var i = 0; i < markerElement.children.length; i++) {
1325
- markerElement.children[i].style.pointerEvents = 'none';
1325
+ markerElement.children[i].style.pointerEvents = 'auto';
1326
1326
  }
1327
1327
  markerElement.style.left = (maps.isTileMap ? location.x : (location.x + transPoint.x) * scale) + offset.x - maps.mapAreaRect.x + 'px';
1328
1328
  markerElement.style.top = (maps.isTileMap ? location.y : (location.y + transPoint.y) * scale) + offset.y - maps.mapAreaRect.y + 'px';