not getting my web scene on globe

المشرف العام

Administrator
طاقم الإدارة
3D Map With Elevation Services - 4.0beta2 html, body { padding: 0; margin: 0; }

#paneDiv { position: absolute; top: 18px; right: 18px; padding: 12px; background-color: rgba(0, 0, 0, 0.5); color: white;}



require([ "esri/Map", "esri/views/SceneView", "esri/layers/ArcGISElevationLayer",

"dojo/on", "dojo/dom", "dojo/domReady!"], function(Map, SceneView, ArcGISElevationLayer, on, dom) { var elevationLayer; //Create map var map = new Map({ basemap: "topo" }); //Create MapView var view = new SceneView({ container: "viewDiv", map: map, camera: { position: [-121.83, 48.279, 1346], heading: 300, tilt: 60 } }); //Create elevation layer and add to the map elevationLayer = new ArcGISElevationLayer({ url: "http://tiles.arcgis.com/tiles/t5NTcrEL3dk0Vvuz/arcgis/rest/services/SceneLayer_Line36_WTL1/MapServer", visible: true }); map.add(elevationLayer); //Register events on the checkbox and create the callback function on(dom.byId("landslideInput"), "change", function(e) { if (dom.byId("landslideInput").checked === true) { elevationLayer.visible = true; //If checkbox is checked, use after landslide elevation data } else { elevationLayer.visible = true; //Otherwise, use original elevation data } });});

I have created a web scene and want to display the 3d visulisation on globe,but my scene is not displaying.Please help me how to solve this issue.

The 2014 Oso Landslide Use elevation data from after landslide



أكثر...
 
أعلى