@syncfusion/ej2-maps 25.1.41 → 25.2.3

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.
@@ -7513,7 +7513,7 @@ let Maps = class Maps extends Component {
7513
7513
  this.trigger(load, { maps: this });
7514
7514
  this.createSVG();
7515
7515
  this.findBaseAndSubLayers();
7516
- if (!isNullOrUndefined(this.markerModule)) {
7516
+ if (!isNullOrUndefined(this.markerModule) && this.markerModule.getMapsInstance()) {
7517
7517
  this.markerModule.initializeMarkerClusterList();
7518
7518
  }
7519
7519
  this.createSecondaryElement();
@@ -10361,6 +10361,13 @@ class Marker {
10361
10361
  this.initialMarkerCluster = [];
10362
10362
  this.zoomedMarkerCluster = [];
10363
10363
  }
10364
+ /**
10365
+ * @private
10366
+ * @returns {Maps} - Returns the instance of the map.
10367
+ */
10368
+ getMapsInstance() {
10369
+ return this.maps;
10370
+ }
10364
10371
  markerRender(maps, layerElement, layerIndex, factor, type) {
10365
10372
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10366
10373
  let templateFn;