You are using a browser that is no longer supported. Please use the latest version of Google Chrome, Mozilla Firefox, Apple Safari, or Microsoft Edge. For more information please see the System Requirements.
Skip To ContentArcGIS for DevelopersSign In Dashboard
Loading...

Note: Support for 3D on mobile devices may vary, view the system requirements for more information.

This sample shows how to add an instance of IntegratedMeshLayer to a WebScene in a SceneView.

An integrated mesh can represent built and natural 3D features, such as building walls, trees, valleys, and cliffs, with realistic textures and includes elevation information. Integrated mesh scene layers are generally created for citywide or landscape 3D mapping and can be created using Drone2Map for ArcGIS or provided by third party contributors, like in this example, whose data was provided by VRICON.

Starting with ArcGIS API for JavaScript version 4.15 features can be aligned relative to an IntegratedMeshLayer. In this sample features like roads, points of interest and lakes are added to the scene and aligned relative to the mesh. As an example, the feature layer containing roads can be displayed:

  • relative to the integrated mesh, by setting the elevationInfo.mode to relative-to-ground. This setting aligns each vertex of the line to the mesh. Parts of the line might be hidden under the mesh, depending on how dense the line vertices are.
  • draped on the integrated mesh, by setting the elevationInfo.mode to on-the-ground.

Sample search results

TitleSample
Loading...