@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.
- 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 +4 -2
- package/dist/es6/ej2-maps.es2015.js.map +1 -1
- package/dist/es6/ej2-maps.es5.js +4 -2
- 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 +6 -6
- package/src/maps/user-interaction/zoom.js +4 -2
- package/.eslintrc.json +0 -260
- package/tslint.json +0 -111
|
@@ -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
|
|
15803
|
-
map.translatePoint.y = (map.tileTranslatePoint.y
|
|
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;
|