Skip to content

Commit 1a607ea

Browse files
committedMar 23, 2021
fix(extent): forget copy zoom in Extent#transformedCopy.
1 parent 27e28ad commit 1a607ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/Core/Geographic/Extent.js

+1
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ class Extent {
589589
transformedCopy(t, s, extent) {
590590
if (!CRS.isTms(extent.crs)) {
591591
this.crs = extent.crs;
592+
this.zoom = extent.zoom;
592593
this.west = (extent.west + t.x) * s.x;
593594
this.east = (extent.east + t.x) * s.x;
594595
if (this.west > this.east) {

0 commit comments

Comments
 (0)
Please sign in to comment.