Layers

A layer can access data from a data source. You can use an ArcGIS Map as a container for layers to display geographic data in an Unreal Engine level.

There are two groups of layers that an ArcGIS Map contains:

  • Basemap layers, used for geographic context.
  • Data layers, used to display geographic data within the context of the basemap.

A layer's data source can either be a data service or a data file stored locally.

Basemap Layers

You can use one or more basemap layers to provide a background of geographical context for the data layers displayed in your Unreal Engine level.

Basemap layer types

In ArcGIS Maps SDK for Unreal Engine, basemap layers are currently limited to image tile layers. Image tile layers can use an online image tile service or a local image tile package as a data source. See Image tile layers below for more information.

Basemaps

Basemap layers are collected together in a basemap and you use the Basemap property of the ArcGIS Map to control the basemap in your level.

ArcGIS Maps SDK for Unreal Engine provides a number of preset basemaps.

There are three ways to create a Basemap to use in your ArcGIS Map:

  • Use one of the preset basemaps.
  • Provide a URL to an image tile service or a local image tile package.
  • Provide a URL to a web map's JSON.

Basemaps from web maps

As mentioned above, you can create a basemap from a URL that references web map JSON, typically read from an item of type Web Map which is stored in an ArcGIS Portal. If the web map contains image tile layers, they will be used in the basemap.

Set a basemap

In the Basemap panel, you have a list of preset basemaps that you can select from. You can also set a custom basemap with a basemap service URL, image tile service URL, or from a local file package. If you don't want to set a basemap, do not select any checkbox in the Basemap panel.

The preset basemaps are the following:

To set a custom basemap:

  1. Click on the Basemap tab to see the panel content if you are in another panel.

  2. Select Custom Basemap option at the bottom of the list.

  3. In the Source field, enter a service URL or a local file path.

  • If you enter a basemap service URL, select Basemap from the Type drop-down list.
  • If you enter a image tile layer service URL, select Image Layer for the Type.
  • To use a .tpk or .tpkx file package as a basemap source, click on ··· to select the local file package, then select Image Layer for the Type.
  • To use a private hosted image tile layer, select the matching configuration from the Authentication drop-down list. For more information about using private content, see ArcGIS identity.

Data layers

Data layers bring additional geographic data into your Unreal Engine level to be displayed in the context of the basemap. You use the Layers property of the ArcGIS Map to control the data layers in your level. The following types of layer are supported:

  • Image tile layers
  • Scene layers (version 1.7 or higher)
    • 3D object scene layers
    • Integrated mesh scene layers

To find the scene layers version, open the service JSON and look for "serviceVersion".

In global scenes, we support data in any geographic coordinate system; for projected coordinate systems, we support Web Mercator when the spatial reference is set to WGS84.

In local scenes, we support any projected coordinate systems; for geographic coordinate systems, we support WGS84 when the spatial reference is set to CGCS 2000.

Refer to Spatial references for more information.

Image tile layers

An image tile layer is a data layer that can access and display image tile data provided by an image tile service or an image tile package.

The spatial reference of the image tile layers should match with the spatial reference of the basemap.

Image tile services

An image tile service is a data service that provides static pre-rendered image tiles to be displayed at different scales. You can learn more about image tile services in the Mapping APIs and location services guide.

Local image tile packages

Image tile layers can also access data from image tile packages stored locally.

An image tile package is a single .tpk (or .tpkx) file containing image tiles, and you can share the file as you would with any file. Compared with .tpk files, .tpkx files provide better performance on network shares and cloud store directories.

Scene layers

A scene layer is a type of data layer that is optimized for displaying large amounts of 3D data from a scene service or a local scene layer packages, as defined by the Open Geospatial Consortium's Indexed 3D Scene Layer (I3S) specification.

ArcGIS Maps SDK for Unreal Engine currently supports 3D object scene layers and integrated mesh scene layers from the I3S specification:

  • 3D object scene layer: A 3D object scene layer represents objects such as buildings that are explicitly modeled in 3D. You can visualize a 3D object scene layer with textures embedded into the 3D features. A 3D object scene layer is automatically thinned to improve performance and visibility at different scale ranges. With a 3D object scene layer, you can change the rendering by filtering by attributes. See 3D attributes filtering for more details.
  • Integrated mesh scene layer: An integrated mesh scene layers is generally created for citywide 3D mapping. It is often captured by drones and structure from motion mapping.

Scene layers will be reprojected to the spatial reference of the ArcGIS Map when they don't match in both global and local scenes. Therefore, you can use scene layers that are in any geographic and projected coordinate system.

Scene services

A scene service is a data service that provides I3S Scene Layer content. It is optimized for streaming large amounts of 3D data to client applications considering the client's 3D view of the data.

Local scene layer packages

Scene layers can also access data from scene layer packages (.slpk files) stored locally.

ArcGIS Maps SDK for Unreal Engine currently supports two types of .slpk files: integrated mesh scene layer package and 3D object scene layer package. SLPK files can be created by using different tools depending on the original data files.

Set data layers

  1. Click on the Layers tab.
  2. In the Add New Data section, select a layer type from the Layer Type drop-down list.
  3. In the Layer Source field, introduce an online service URL. If you want to use a local file package, click on ··· and select the file.
  4. Introduce a name in the Layer Name field.
  5. Click on the Add button.

When you click on the Add button, the layer will be listed under the Layers section.

To use a private content, select the matching configuration from the Authentication drop-down list in the Layers section. For more information about using private content, see ArcGIS identity.

Layer management

You can toggle layers on and off, change layer opacity, delete and reorder layers.

You can make the following layer management operation under the Layers tab.

  • Change the layer order by dragging it to a new order position.
  • Change a layer name by typing a new name under the Name field.
  • Add a new layer by clicking the + icon.
  • Delete a layer by clicking on the v icon in the layer name row and select Delete.
  • Delete all layers at once by clicking the trashcan icon.
  • Add a layer source by directly pasting the URL to the Source field or loading a file package via the ... icon.
  • Set a value between 0.0 and 1.0 or use the slider to set the layer opacity.
  • Hide a layer by marking the checkbox next to the layer name.
  • Click on the triangle icon on the left to expand a layer registry and see the layer properties.
  • Change the layer type by clicking on the Type drop-down list.
  • Replace the layer source URL or file path.
  • Select matching authentication configuration.
  • Zoom to a specific layer's extent by clicking on the Zoom To Layer button.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.