@syncfusion/ej2-maps 23.1.40 → 23.1.42

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.
@@ -5511,6 +5511,12 @@ var Marker = /** @__PURE__ @class */ (function () {
5511
5511
  */
5512
5512
  Marker.prototype.markerClick = function (e) {
5513
5513
  var target = e.target.id;
5514
+ if (target.indexOf(this.maps.element.id) === -1) {
5515
+ var ancestor = e.target.closest('.' + this.maps.element.id + '_marker_template_element');
5516
+ if (!isNullOrUndefined(ancestor) && ancestor.id.indexOf('_MarkerIndex_') > -1) {
5517
+ target = ancestor.id;
5518
+ }
5519
+ }
5514
5520
  if (target.indexOf('_LayerIndex_') === -1 || target.indexOf('_cluster_') > 0) {
5515
5521
  return;
5516
5522
  }