@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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-maps.min.js +2 -2
- package/dist/ej2-maps.umd.min.js +2 -2
- package/dist/ej2-maps.umd.min.js.map +1 -1
- package/dist/es6/ej2-maps.es2015.js +11 -8
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +11 -8
- package/dist/es6/ej2-maps.es5.js.map +1 -1
- package/dist/global/ej2-maps.min.js +2 -2
- package/dist/global/ej2-maps.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/maps/user-interaction/tooltip.js +11 -8
|
@@ -13815,7 +13815,7 @@ class MapsTooltip {
|
|
|
13815
13815
|
}
|
|
13816
13816
|
}
|
|
13817
13817
|
else {
|
|
13818
|
-
this.clearTooltip();
|
|
13818
|
+
this.clearTooltip(e.target);
|
|
13819
13819
|
}
|
|
13820
13820
|
});
|
|
13821
13821
|
if (this.svgTooltip) {
|
|
@@ -13830,7 +13830,7 @@ class MapsTooltip {
|
|
|
13830
13830
|
});
|
|
13831
13831
|
}
|
|
13832
13832
|
else {
|
|
13833
|
-
this.clearTooltip();
|
|
13833
|
+
this.clearTooltip(e.target);
|
|
13834
13834
|
}
|
|
13835
13835
|
}
|
|
13836
13836
|
else {
|
|
@@ -13840,7 +13840,7 @@ class MapsTooltip {
|
|
|
13840
13840
|
this.maps.notify(click, this);
|
|
13841
13841
|
}
|
|
13842
13842
|
else {
|
|
13843
|
-
this.clearTooltip();
|
|
13843
|
+
this.clearTooltip(e.target);
|
|
13844
13844
|
}
|
|
13845
13845
|
}
|
|
13846
13846
|
}
|
|
@@ -13897,11 +13897,14 @@ class MapsTooltip {
|
|
|
13897
13897
|
}
|
|
13898
13898
|
return isTooltipRemoved;
|
|
13899
13899
|
}
|
|
13900
|
-
clearTooltip() {
|
|
13901
|
-
|
|
13902
|
-
if (
|
|
13903
|
-
|
|
13904
|
-
|
|
13900
|
+
clearTooltip(element) {
|
|
13901
|
+
let tooltipElement = element.closest('#' + this.maps.element.id + '_mapsTooltipparent_template');
|
|
13902
|
+
if (isNullOrUndefined(tooltipElement)) {
|
|
13903
|
+
const isTooltipRemoved = this.removeTooltip();
|
|
13904
|
+
if (isTooltipRemoved) {
|
|
13905
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
13906
|
+
this.maps.clearTemplate();
|
|
13907
|
+
}
|
|
13905
13908
|
}
|
|
13906
13909
|
}
|
|
13907
13910
|
// eslint-disable-next-line valid-jsdoc
|