Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Added rotate windmills
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresKasekamp committed Jan 8, 2024
1 parent 2ff4993 commit e4be591
Show file tree
Hide file tree
Showing 537 changed files with 3,390 additions and 1,765 deletions.
16 changes: 14 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

// Esri imports
import Conversion from "@arcgis/core/widgets/CoordinateConversion/support/Conversion.js";
//import Measurement from "@arcgis/core/widgets/Measurement.js";

// Local imports
import {
Expand Down Expand Up @@ -63,6 +62,9 @@ import {
createURL,
setupViewPoint,
} from "./modules/goToLocation.js";
import {
displayWindmills
} from "./modules/rotatingWindmill";

/************************************************************
* Init scene (/w layers) and view
Expand Down Expand Up @@ -101,6 +103,11 @@ const akDTM = setupElevationLayer(

const view = setupWebView(scene);






view.when(() => {
/**************************************
* Geology layer setup
Expand Down Expand Up @@ -255,6 +262,12 @@ view.when(() => {

setupSketch(view, graphicsLayer);

/**************************************
* Rotating windmills
**************************************/

displayWindmills(view);

/**************************************
* Reordering layers
**************************************/
Expand Down Expand Up @@ -350,6 +363,5 @@ view.when(() => {
if (locationArray !== null) {
const viewpoint = setupViewPoint(locationArray);
view.goTo(viewpoint, { animate: false });
console.log(basemaps);
}
});
1 change: 0 additions & 1 deletion dist/assets/AnalysisToolBase-3A13PdgS.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/AnalysisToolBase-olyQy6lh.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/assets/AreaMeasurement2D-5lnD5-Sk.js

This file was deleted.

Loading

0 comments on commit e4be591

Please sign in to comment.