@syncfusion/ej2-maps 25.1.41 → 25.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.
@@ -7808,7 +7808,7 @@ var Maps = /** @__PURE__ @class */ (function (_super) {
7808
7808
  this.trigger(load, { maps: this });
7809
7809
  this.createSVG();
7810
7810
  this.findBaseAndSubLayers();
7811
- if (!isNullOrUndefined(this.markerModule)) {
7811
+ if (!isNullOrUndefined(this.markerModule) && this.markerModule.getMapsInstance()) {
7812
7812
  this.markerModule.initializeMarkerClusterList();
7813
7813
  }
7814
7814
  this.createSecondaryElement();
@@ -10688,6 +10688,13 @@ var Marker = /** @__PURE__ @class */ (function () {
10688
10688
  this.initialMarkerCluster = [];
10689
10689
  this.zoomedMarkerCluster = [];
10690
10690
  }
10691
+ /**
10692
+ * @private
10693
+ * @returns {Maps} - Returns the instance of the map.
10694
+ */
10695
+ Marker.prototype.getMapsInstance = function () {
10696
+ return this.maps;
10697
+ };
10691
10698
  Marker.prototype.markerRender = function (maps, layerElement, layerIndex, factor, type) {
10692
10699
  var _this = this;
10693
10700
  // eslint-disable-next-line @typescript-eslint/no-explicit-any