@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.
@@ -16172,8 +16172,8 @@ var Zoom = /** @__PURE__ @class */ (function () {
16172
16172
  map.tileTranslatePoint.x = x + xDifference;
16173
16173
  map.tileTranslatePoint.y = y + yDifference;
16174
16174
  }
16175
- map.translatePoint.x = (map.tileTranslatePoint.x - xDifference) / map.scale;
16176
- map.translatePoint.y = (map.tileTranslatePoint.y - yDifference) / map.scale;
16175
+ map.translatePoint.x = (map.tileTranslatePoint.x) / map.scale;
16176
+ map.translatePoint.y = (map.tileTranslatePoint.y) / map.scale;
16177
16177
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
16178
16178
  var location_4 = this.maps.getTileGeoLocation(mouseLocation['layerX'], mouseLocation['layerY']);
16179
16179
  var minMaxLatitudeLongitude = this.maps.getMinMaxLatitudeLongitude();
@@ -16188,6 +16188,8 @@ var Zoom = /** @__PURE__ @class */ (function () {
16188
16188
  map.trigger(pan, panArgs);
16189
16189
  map.mapLayerPanel.generateTiles(map.tileZoomLevel, map.tileTranslatePoint, 'Pan');
16190
16190
  this.applyTransform(map, false, true);
16191
+ map.translatePoint.x = (map.tileTranslatePoint.x - xDifference) / map.scale;
16192
+ map.translatePoint.y = (map.tileTranslatePoint.y - yDifference) / map.scale;
16191
16193
  }
16192
16194
  map.zoomTranslatePoint = map.translatePoint;
16193
16195
  this.mouseDownPoints = this.mouseMovePoints;