@syncfusion/ej2-maps 22.2.8 → 22.2.12

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.8
3
+ * version : 22.2.12
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.2.5",
3
+ "_id": "@syncfusion/ej2-maps@22.2.8",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-2ujWL1A6ZAjiqFnt64NJckR3+ipLQ4GfYL+oZsfFl2eoJnxJp3mpW8PSv8YCP33ZDQs49HhLZEcv56TFhtFpCQ==",
5
+ "_integrity": "sha512-M3HsGO6aLXC3KgxHm8BEP8dwPEfkTJcdfcMka6Yk2zDITIsXlxrrPqUskjDyONboDosc2Zg69nU4UoUQA8tUNg==",
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.2.5.tgz",
27
- "_shasum": "a26db405fe74df77f71b2007dc2d8c77d6dab16e",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-22.2.8.tgz",
27
+ "_shasum": "17eb65a8552d6f2892a4949f04fb9f9d44adb3c1",
28
28
  "_spec": "@syncfusion/ej2-maps@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
30
30
  "author": {
@@ -35,8 +35,8 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~22.2.5",
39
- "@syncfusion/ej2-buttons": "~22.2.8",
38
+ "@syncfusion/ej2-base": "~22.2.12",
39
+ "@syncfusion/ej2-buttons": "~22.2.9",
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",
@@ -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.8",
96
+ "version": "22.2.12",
97
97
  "sideEffects": false
98
98
  }
@@ -40,6 +40,12 @@ var MapsTooltip = /** @class */ (function () {
40
40
  clearTimeout(this.clearTimeout);
41
41
  this.clearTimeout = setTimeout(this.removeTooltip.bind(this), 2000);
42
42
  }
43
+ if (target.id.indexOf(this.maps.element.id) === -1) {
44
+ var ancestor = target.closest('.' + this.maps.element.id + '_marker_template_element');
45
+ if (!isNullOrUndefined(ancestor) && ancestor.id.indexOf('_MarkerIndex_') > -1) {
46
+ target = ancestor;
47
+ }
48
+ }
43
49
  var option;
44
50
  var currentData = '';
45
51
  var targetId = target.id;
@@ -701,7 +701,7 @@ export function renderTextElement(option, style, color, parent, isMinus) {
701
701
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
702
702
  export function convertElement(element, markerId, data, index, mapObj) {
703
703
  var childElement = createElement('div', {
704
- id: markerId
704
+ id: markerId, className: mapObj.element.id + '_marker_template_element'
705
705
  });
706
706
  childElement.style.cssText = 'position: absolute;pointer-events: auto;';
707
707
  var elementLength = element.length;