Heightmap terrain tile

更新时间:
复制 MD 格式

The heightmap terrain tile is a global layer in the 3D City Builder. You can configure its style and data, including general configurations and interaction settings. This topic describes the configuration items for the heightmap terrain tile layer.

In the layer list on the left side of the scene editor, click the Heightmap Terrain Tile layer to open the configuration panel and configure the style and data of the Heightmap Terrain Tile layer.

Note
  • This widget is available only to users of DataV Premium Edition. To use this widget, you must upgrade to the Premium Edition.

  • If the Heightmap Terrain Tile is not in the layer list, you must add the Heightmap Terrain Tile layer. For more information, see Add a sub-widget.

Style panel

  • Search Configuration: To quickly find a specific configuration item, click on the Configuration panel in the upper right corner and enter the item's name in the Search Configuration field. The system utilizes a fuzzy match to assist in locating items. For more information, see search configuration items.

  • General

    Parameter

    Description

    Projection Type

    Sets the projection type for the heightmap terrain tile.

    BaseURL

    Sets the BaseURL for the heightmap terrain tile. The URL must include the {x}, {y}, and {z} placeholders.

    Tile Configuration

    Sets the configuration items for the heightmap terrain tile.

    • Width: Sets the width of the heightmap terrain tile.

    • Height: Sets the height of the heightmap terrain tile.

    • Min Zoom: Drag the slider to set the minimum zoom level for the heightmap terrain tile. The value ranges from 0 to 20.

    • Max Zoom: Drag the slider to set the maximum zoom level for the heightmap terrain tile. The value ranges from 0 to 20.

    • Zoom Offset: Drag the slider to set the zoom offset for the heightmap terrain tile. The value ranges from -3 to 3.

  • Interaction

    Parameter

    Description

    Mouse Interaction

    Turn on the switch to enable mouse interaction. Turn off the switch to disable mouse interaction.

Data panel

This layer does not require data configuration.

Blueprint interaction

  1. In the layer list of the Scene Editor, click the Export to Blueprint Editor icon to the right of the Heightmap Terrain Tile layer.

  2. Click the Blueprint icon icon in the upper-left corner of the page.

  3. On the Blueprint Editor configuration page, click the Heightmap Terrain Tile layer in the Import Nodes pane. The configuration parameters for the layer appear on the canvas, as shown in the following figure.Blueprint configuration parameters

    • Events

      Event

      Description

      Left-click

      The event is triggered when you left-click the heightmap terrain tile. The event data is of the object type.

    • Actions

      Action

      Description

      Display Component

      Shows the widget. No parameters are required.

      Hide Widget

      Hides the widget. No parameters are required.