Recreate the Details Panel UI sample level
To launch Unreal Engine, open the Epic Games Launcher and click on Unreal Engine > Launch. When you launch Unreal Engine (UE4), the Unreal Project Browser automatically opens.
Under New Project Categories, select Games.
Select a Blank template.
On the Project Settings page, set the project to a C++ project and keep the other default options.
At the bottom of the Project Settings page, select where you want to store your project, and give your project a name. Click Create Project to initialize the project.
Create a Plugins folder in the main project directory.
Extract the ArcGIS Maps SDK folder from the
.zipfile and copy it to the new Plugins folder.
Start Unreal Engine.
Click the ArcGIS Maps button located in the Unreal UI toolbar, it will generate a Map Controller Actor. You can find it in the World Outliner.
Delete the Floor actor in the World Outliner.
In the World Outliner panel select the ArcGISMapController. The UI will appear in the Details panel.
In the View Mode panel select Global Scene.
In the Camera Location panel you can set up the initial point of view of the camera. For the tutorial, set the parameters to these values:
- Latitude = 40.691242;
- Longitude = -74.054921;
- Height = 3000;
- Heading = 65;
- Pitch = 68;
- Roll = 0;
On the Base Map panel, you can select the base map that best suits your project. For the tutorial select Imagery on the dropdown menu.
In the Add Data panel select Add From URL.
Enter the layer's web service URL in the URL field.
Type 01 - New York Transit Frequency in the Layer Name field.
Click Add Layer to add the layer to your map. Note: In the Layers panel you can see the new layer created.
Repeat the prior three steps to create the other layers.
Layer name: 02 - New York Industrial Areas
Layer name: 03 - New York Population Density
Layer name: 04 - New York 3D Buildings
On the Layers panel change the opacity of the layers 01 and 02 to 90% and 60%. Keep the default opacity value of layers 02 and 03.
You have successfully configured the UI. Click the Play icon and see your map.
Use the WASD Keys to move left/right/forward/backward. Use the left mouse button to pan around the scene, the right button to orbit and the scroll wheel to zoom in or out.