Esri API

Intro to SceneView - Create a 3D map 

ArcGIS Maps SDK for JavaScriptSample Code

<!DOCTYPE html>
    <meta charset="utf-8" />
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>Intro to SceneView - Create a 3D map</title>
      #viewDiv {
        padding: 0;
        margin: 0;
        height: 100%;
        width: 100%;
    <link rel="stylesheet" href="" />
    <script src=""></script>
      require(["esri/Map", "esri/views/SceneView"], (Map, SceneView) => {
        const map = new Map({
          basemap: "topo-vector",
          ground: "world-elevation"
        const view = new SceneView({
          container: "viewDiv", // Reference to the scene div created in step 5
          map: map, // Reference to the map object created before the scene
          scale: 50000000, // Sets the initial scale to 1:50,000,000
          center: [-101.17, 21.78] // Sets the center point of view with lon/lat
    <div id="viewDiv"></div>

Start with this code

Now change the following: 

Center the map on an area of interest (look up lat long)


Title Text

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin urna odio, aliquam vulputate faucibus id, elementum lobortis felis. Mauris urna dolor, placerat ac sagittis quis.


By Britta Ricker