@syncfusion/ej2-maps 25.1.35 → 25.1.37

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.
@@ -15799,8 +15799,8 @@ class Zoom {
15799
15799
  map.tileTranslatePoint.x = x + xDifference;
15800
15800
  map.tileTranslatePoint.y = y + yDifference;
15801
15801
  }
15802
- map.translatePoint.x = (map.tileTranslatePoint.x - xDifference) / map.scale;
15803
- map.translatePoint.y = (map.tileTranslatePoint.y - yDifference) / map.scale;
15802
+ map.translatePoint.x = (map.tileTranslatePoint.x) / map.scale;
15803
+ map.translatePoint.y = (map.tileTranslatePoint.y) / map.scale;
15804
15804
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
15805
15805
  const location = this.maps.getTileGeoLocation(mouseLocation['layerX'], mouseLocation['layerY']);
15806
15806
  const minMaxLatitudeLongitude = this.maps.getMinMaxLatitudeLongitude();
@@ -15815,6 +15815,8 @@ class Zoom {
15815
15815
  map.trigger(pan, panArgs);
15816
15816
  map.mapLayerPanel.generateTiles(map.tileZoomLevel, map.tileTranslatePoint, 'Pan');
15817
15817
  this.applyTransform(map, false, true);
15818
+ map.translatePoint.x = (map.tileTranslatePoint.x - xDifference) / map.scale;
15819
+ map.translatePoint.y = (map.tileTranslatePoint.y - yDifference) / map.scale;
15818
15820
  }
15819
15821
  map.zoomTranslatePoint = map.translatePoint;
15820
15822
  this.mouseDownPoints = this.mouseMovePoints;