@syncfusion/ej2-maps 21.1.41 → 21.2.4

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 : 21.1.41
3
+ * version : 21.2.4
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@21.1.38",
3
+ "_id": "@syncfusion/ej2-maps@21.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-c71dZus+LhjA/wl4pVp8K6bUPD0saJvxdhJwWCiztGmHq1rimww/cHBVA8l8XXyqVWE2aVl9baZNrlnO5Nlp0A==",
5
+ "_integrity": "sha512-PSiITREcLYnKvsKTv1UDiFpid89kYPUC7VdGSeKHtCKgdU8pgrj3c374QiHCpuarpMm3FN1OZ+SQoCeZlOM9Nw==",
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-21.1.38.tgz",
27
- "_shasum": "361a02226d73f9daa669a99091c29efcb30957c0",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-21.2.3.tgz",
27
+ "_shasum": "db740bd3feb13b219448114efef68f484d65c33f",
28
28
  "_spec": "@syncfusion/ej2-maps@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
30
30
  "author": {
@@ -35,13 +35,13 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~21.1.40",
39
- "@syncfusion/ej2-buttons": "~21.1.37",
40
- "@syncfusion/ej2-compression": "~21.1.37",
41
- "@syncfusion/ej2-data": "~21.1.38",
42
- "@syncfusion/ej2-file-utils": "~21.1.37",
43
- "@syncfusion/ej2-pdf-export": "~21.1.37",
44
- "@syncfusion/ej2-svg-base": "~21.1.38"
38
+ "@syncfusion/ej2-base": "~21.2.3",
39
+ "@syncfusion/ej2-buttons": "~21.2.3",
40
+ "@syncfusion/ej2-compression": "~21.2.3",
41
+ "@syncfusion/ej2-data": "~21.2.4",
42
+ "@syncfusion/ej2-file-utils": "~21.2.3",
43
+ "@syncfusion/ej2-pdf-export": "~21.2.3",
44
+ "@syncfusion/ej2-svg-base": "~21.2.3"
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": "21.1.41",
96
+ "version": "21.2.4",
97
97
  "sideEffects": false
98
98
  }
@@ -252,7 +252,7 @@ var MapsTooltip = /** @class */ (function () {
252
252
  }
253
253
  }
254
254
  else {
255
- _this.clearTooltip();
255
+ _this.clearTooltip(e.target);
256
256
  }
257
257
  });
258
258
  if (this.svgTooltip) {
@@ -267,7 +267,7 @@ var MapsTooltip = /** @class */ (function () {
267
267
  });
268
268
  }
269
269
  else {
270
- this.clearTooltip();
270
+ this.clearTooltip(e.target);
271
271
  }
272
272
  }
273
273
  else {
@@ -277,7 +277,7 @@ var MapsTooltip = /** @class */ (function () {
277
277
  this.maps.notify(click, this);
278
278
  }
279
279
  else {
280
- this.clearTooltip();
280
+ this.clearTooltip(e.target);
281
281
  }
282
282
  }
283
283
  };
@@ -336,11 +336,14 @@ var MapsTooltip = /** @class */ (function () {
336
336
  }
337
337
  return isTooltipRemoved;
338
338
  };
339
- MapsTooltip.prototype.clearTooltip = function () {
340
- var isTooltipRemoved = this.removeTooltip();
341
- if (isTooltipRemoved) {
342
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
343
- this.maps.clearTemplate();
339
+ MapsTooltip.prototype.clearTooltip = function (element) {
340
+ var tooltipElement = element.closest('#' + this.maps.element.id + '_mapsTooltipparent_template');
341
+ if (isNullOrUndefined(tooltipElement)) {
342
+ var isTooltipRemoved = this.removeTooltip();
343
+ if (isTooltipRemoved) {
344
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
345
+ this.maps.clearTemplate();
346
+ }
344
347
  }
345
348
  };
346
349
  // eslint-disable-next-line valid-jsdoc