Merge pull request #10495 from danielklim/dlim/view-fit-typo
typo in view.fit
This commit is contained in:
+1
-1
@@ -1109,7 +1109,7 @@ class View extends BaseObject {
|
|||||||
} else {
|
} else {
|
||||||
const userProjection = getUserProjection();
|
const userProjection = getUserProjection();
|
||||||
if (userProjection) {
|
if (userProjection) {
|
||||||
geometry = /** @type {import("./geom/SimpleGeometry.js").default} */ (geometry.clone().transform(userProjection, this.getProjection()));
|
geometry = /** @type {import("./geom/SimpleGeometry.js").default} */ (geometryOrExtent.clone().transform(userProjection, this.getProjection()));
|
||||||
} else {
|
} else {
|
||||||
geometry = geometryOrExtent;
|
geometry = geometryOrExtent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user