Skip to content

Commit

Permalink
default zoomed out further in the viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
tebben committed Jan 24, 2024
1 parent de57800 commit c502f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctod/templates/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function configureViewer() {
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);

viewer.camera.setView({
destination: new Cesium.Cartesian3.fromDegrees(5.33195, 60.29969, 500),
destination: new Cesium.Cartesian3.fromDegrees(5.33195, 60.29969, 2000),
orientation: {
heading: Cesium.Math.toRadians(0),
pitch: Cesium.Math.toRadians(-80),
Expand Down Expand Up @@ -136,7 +136,7 @@ function setTerrainProvider(minZoom, maxZoom, cog, resamplingMethod, skipCache,
destination: new Cesium.Cartesian3.fromDegrees(
(bounds[0] + bounds[2]) / 2,
(bounds[1] + bounds[3]) / 2,
500
2000
),
orientation: {
heading: Cesium.Math.toRadians(0),
Expand Down

0 comments on commit c502f3a

Please sign in to comment.