Created
July 16, 2020 16:20
-
-
Save RalucaNicola/22564a1bacce275931a5d2934385783a to your computer and use it in GitHub Desktop.
How to set a camera in ArcGIS API for JavaScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const view = new SceneView({ | |
container: "viewDiv", | |
map: map, | |
camera: { | |
heading: 90, // face due east | |
tilt: 45, // looking from a bird's eye view | |
position: { | |
latitude: 38, | |
longitude: -122, | |
z: 20000 | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment