@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.
- 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 +7 -1
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +7 -1
- 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 +7 -7
- package/src/maps/user-interaction/tooltip.js +6 -0
- package/src/maps/utils/helper.js +1 -1
|
@@ -631,7 +631,7 @@ function renderTextElement(option, style, color, parent, isMinus = false) {
|
|
|
631
631
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
632
632
|
function convertElement(element, markerId, data, index, mapObj) {
|
|
633
633
|
const childElement = createElement('div', {
|
|
634
|
-
id: markerId
|
|
634
|
+
id: markerId, className: mapObj.element.id + '_marker_template_element'
|
|
635
635
|
});
|
|
636
636
|
childElement.style.cssText = 'position: absolute;pointer-events: auto;';
|
|
637
637
|
let elementLength = element.length;
|
|
@@ -13734,6 +13734,12 @@ class MapsTooltip {
|
|
|
13734
13734
|
clearTimeout(this.clearTimeout);
|
|
13735
13735
|
this.clearTimeout = setTimeout(this.removeTooltip.bind(this), 2000);
|
|
13736
13736
|
}
|
|
13737
|
+
if (target.id.indexOf(this.maps.element.id) === -1) {
|
|
13738
|
+
const ancestor = target.closest('.' + this.maps.element.id + '_marker_template_element');
|
|
13739
|
+
if (!isNullOrUndefined(ancestor) && ancestor.id.indexOf('_MarkerIndex_') > -1) {
|
|
13740
|
+
target = ancestor;
|
|
13741
|
+
}
|
|
13742
|
+
}
|
|
13737
13743
|
let option;
|
|
13738
13744
|
let currentData = '';
|
|
13739
13745
|
const targetId = target.id;
|