@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 25.1.41
3
+ * version : 25.2.4
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-maps@*",
3
- "_id": "@syncfusion/ej2-maps@25.1.40",
3
+ "_id": "@syncfusion/ej2-maps@25.1.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-JVVKXJ9HituoHeGWMEoues4XOwwcSl79tKEKhFHUTRKaYmzrpZIm4M2QEU2+0+3IhQjKSaQgv0ictbRytkpeiQ==",
5
+ "_integrity": "sha512-f3i1agwk554peX5JwF25nYx4Spy6FhCaRvPuvbQq0PIslntofQeqvtJCh8uiodToSusmNixIvo5dr/+bmtUwjQ==",
6
6
  "_location": "/@syncfusion/ej2-maps",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-maps",
24
24
  "/@syncfusion/ej2-vue-maps"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-25.1.40.tgz",
27
- "_shasum": "dadf7bd16cf348c721c94c4e26b329294dcf7896",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-maps/-/ej2-maps-25.1.41.tgz",
27
+ "_shasum": "f7a46097b695e5576502c1e4508edfc587b91aa4",
28
28
  "_spec": "@syncfusion/ej2-maps@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
30
30
  "author": {
@@ -35,13 +35,13 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~25.1.35",
39
- "@syncfusion/ej2-buttons": "~25.1.39",
40
- "@syncfusion/ej2-compression": "~25.1.35",
41
- "@syncfusion/ej2-data": "~25.1.35",
42
- "@syncfusion/ej2-file-utils": "~25.1.35",
43
- "@syncfusion/ej2-pdf-export": "~25.1.38",
44
- "@syncfusion/ej2-svg-base": "~25.1.37"
38
+ "@syncfusion/ej2-base": "~25.2.3",
39
+ "@syncfusion/ej2-buttons": "~25.2.4",
40
+ "@syncfusion/ej2-compression": "~25.2.3",
41
+ "@syncfusion/ej2-data": "~25.2.3",
42
+ "@syncfusion/ej2-file-utils": "~25.2.3",
43
+ "@syncfusion/ej2-pdf-export": "~25.2.3",
44
+ "@syncfusion/ej2-svg-base": "~25.2.3"
45
45
  },
46
46
  "deprecated": false,
47
47
  "description": "The Maps component is used to visualize the geographical data and represent the statistical data of a particular geographical area on earth with user interactivity, and provides various customizing options",
@@ -93,6 +93,6 @@
93
93
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
94
94
  },
95
95
  "typings": "index.d.ts",
96
- "version": "25.1.41",
96
+ "version": "25.2.4",
97
97
  "sideEffects": false
98
98
  }
@@ -15,6 +15,11 @@ export declare class Marker {
15
15
  */
16
16
  sameMarkerData: MarkerClusterData[];
17
17
  constructor(maps: Maps);
18
+ /**
19
+ * @private
20
+ * @returns {Maps} - Returns the instance of the map.
21
+ */
22
+ getMapsInstance(): Maps;
18
23
  markerRender(maps: Maps, layerElement: Element, layerIndex: number, factor: number, type: string): void;
19
24
  /**
20
25
  * To find zoom level for individual layers like India, USA.
@@ -14,6 +14,13 @@ var Marker = /** @class */ (function () {
14
14
  this.initialMarkerCluster = [];
15
15
  this.zoomedMarkerCluster = [];
16
16
  }
17
+ /**
18
+ * @private
19
+ * @returns {Maps} - Returns the instance of the map.
20
+ */
21
+ Marker.prototype.getMapsInstance = function () {
22
+ return this.maps;
23
+ };
17
24
  Marker.prototype.markerRender = function (maps, layerElement, layerIndex, factor, type) {
18
25
  var _this = this;
19
26
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/src/maps/maps.js CHANGED
@@ -235,7 +235,7 @@ var Maps = /** @class */ (function (_super) {
235
235
  this.trigger(load, { maps: this });
236
236
  this.createSVG();
237
237
  this.findBaseAndSubLayers();
238
- if (!isNullOrUndefined(this.markerModule)) {
238
+ if (!isNullOrUndefined(this.markerModule) && this.markerModule.getMapsInstance()) {
239
239
  this.markerModule.initializeMarkerClusterList();
240
240
  }
241
241
  this.createSecondaryElement();