@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.
- 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 +8 -1
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +8 -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 +12 -12
- package/src/maps/layers/marker.d.ts +5 -0
- package/src/maps/layers/marker.js +7 -0
- package/src/maps/maps.js +1 -1
package/dist/es6/ej2-maps.es5.js
CHANGED
|
@@ -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
|