All Products
Search
Document Center

DataV:Flying Routes Layer

Last Updated:May 12, 2023

This topic describes the chart styles and the meaning of each configuration items.

Chart Style

The flying line layer is a subcomponent of 3D Earth. It supports independent styles and data configurations, including the radius, radian, type, and start time longitude and latitude of the flying line. It is suitable for the linear expression of OD data and usually indicates the association between two places, such as logistics and transactions. image..png

Settings Panel

image..png
  • Search for Configurations: In the right-side panel of Canvas Editor, click the Settings tab, and click Search for Configurations in the upper-right corner. Enter the required configuration item in the search box, and click the search icon to quickly locate the configuration item. Fuzzy match is supported. For more information, see Search for asset configurations.
  • Flying Route Radius: the radius of the flying route.

  • Flying Route Length: the length of the flying route.

  • Flying Line Speed: the speed of the flying line.

  • Flying Route Height: the height of the sphere from the flying route.

  • Flying arc: the arc of the flying line.

  • Flying Route Opacity: the transparency of the flying routes.

  • Default Color: If the flying line type type corresponding to the type field in the data does not exist, the flying line is rendered in the default color. Refer to the color picker instructions to adjust the default color of the flight routes.

  • Flying Route Type: The property contains the Type property and the Color property. The values of these two properties can be considered as the elements of two arrays. The values of the type properties for each flying route type are a subset of the values of the type properties that are specified for each flying line in the data source. If the type of a flying line in the data source is not included in the values of the type properties contained in the Flying Route Type property, then the default color is rendered for the flying line.

Data Panel

image..png

Configuration field description

Parameter

Description

from

The longitude and latitude of the starting position of the flying route. Separate the longitude and latitude with a comma (,).

to

The longitude and latitude of the end point of the flying line. Separate the longitude and latitude with commas (,).

type

The color type of the flight routes. This parameter is used in conjunction with the Flight Type > type in the configuration items to define the color of the flight routes.

Table 1. Parameters
ParameterDescription
Controlled ModeIf you turn on the switch, data is not requested when a widget is initialized. Data requests are triggered only based on callback IDs or the method configured in Blueprint Editor. If you turn off the switch, data requests are automatically triggered. By default, the switch is turned off.
Auto Data RequestAfter you select the Auto Data Request check box, you can enable dynamic polling, and manually specify the polling interval. If you do not select this check box, data is not automatically requested. You must manually refresh the page to request data or use Blueprint Editor or callback ID events to trigger data requests.
Data SourceIn the right-side panel of Canvas Editor, click the Data tab. Click Set next to Static Data. In the Configure Datasource panel, select a data source from the Data Source Type drop-down list. Enter code for data query in the code editor, click Preview Data Response to preview the response of the data source, and then view the response. For more information, see Configure asset data.
Data FilterIf you select the Data Filter check box, you can convert the data structure, filter data, and perform simple calculations. If you click the plus sign (+) next to Add Filter, you can configure the script for the data filter in the editor that appears. For more information, see Use the data filter.
Data Response ResultThe response to a data request. If the data source changes, you can click the Refresh icon icon next to Data Response Result to view the data response in real time.

Interaction Panel

This widget does not support interaction events.

Configure interactions in Blueprint Editor

  1. In Canvas Editor, click the 导出到蓝图编辑器icon on the right side of Flying Route Layer in the 3D Earth sub-widget list.

  2. Click the 蓝图图标icon in the upper-left corner.

  3. In Blueprint Editor, click the Flying Route Layer component in the Added Nodes pane. The following figure shows the configuration parameters of the flying route layer on the canvas. image..png

    • Event

      Event

      Description

      When the flight request is completed

      The event is triggered with the processed JSON data after a data interface request is responded and processed by a filter. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.

      When a flight request fails

      The event that is returned when a data interface request fails (the request may be due to network problems or interface errors) and is processed by the filter. The event also throws the processed JSON data. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.

    • Policy Action

      Policy Action

      Description

      Request Flight

      This action is performed to request the server data again. The data sent by an upstream data processing node or layer node is used as a parameter. For example, if the API data source is https://api.test and the data passed to the request flying line action is { id: '1'}, the final request interface is https://api.test?id=1.

      Import Flying Routes

      After data of a widget is processed in accordance with its drawing format, the widget is imported for redrawing. You do not need to request server data again. For more information about specific data examples, see the Data Response Result section of the Data tab in the right-side configuration panel of the canvas editor.

      Display Widget

      A widget is shown without the need to specify parameters.

      Hide components

      A widget is hidden without the need to specify parameters.