Skip to content

Commit

Permalink
fix(Extent): forgetting zoom property copy, in Extent.as().
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Mar 9, 2021
1 parent 0870ede commit 3efea0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/Geographic/Extent.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ class Extent {
}

target.crs = crs;
target.zoom = this.zoom;
target.set(this.west, this.east, this.south, this.north);

return target;
Expand Down

0 comments on commit 3efea0e

Please sign in to comment.