@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
|
@@ -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;
|