Kriging isosurface layer
Updated at:
The Kriging isosurface layer is a sub-widget of the Basic Flat Map. It supports independent style and data configurations, such as fill colors and border styles. You can use this layer to create a raster area map from known vector point data for display on a large screen. This topic describes the configuration items for the Kriging isosurface layer.
In the
Sub-widget Management section, click
Kriging Isosurface Layer to configure its style and data in the configuration panel.
Note If
Kriging Isosurface Layer is not available under
Sub-widget Management, you have not yet added the
Kriging Isosurface Layer sub-widget. For more information, see
Map Container (v2.x).
Configuration
- 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 Configurations.
- Visibility Level: Specifies the visibility level for the Kriging isosurface layer. The layer is visible only within the specified level range.
- Fill Color: Specifies the fill color of the Kriging isosurface layer. You can set a Minimum and a Maximum color value. The fill color of an interpolation point is graded based on its weight. Different weights are mapped to colors in the range between the minimum and maximum colors.
Parameter Description Minimum value. To modify the color, see Color picker. Maximum Color value Specifies the color of the interpolation point with the maximum value. - Data Grading: Specifies the data weight grading value for the Kriging isosurface layer. The value ranges from 5 to 30. A larger value results in a more detailed color distribution for interpolation points with different weights on the isosurface layer.
- Border Style: Specifies the border style for the weight areas of the Kriging isosurface layer, including the border color, width, and line type.
Data
- Interpolation Point Data API
Table 1. Field descriptions Field Description lng The longitude of the interpolation point. lat The latitude of the interpolation point. value The value of the interpolation point. DataV adjusts the rendering effect of the isosurface layer based on the value and the rendering configuration items in the configuration panel. - Clipping Border Data API
The clipping border defines the range of interpolation points to be rendered.
| Parameter | Description |
| Controlled Mode | If 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 Request | After 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 Source | In 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 Filter | If 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 Result | The response to a data request. If the data source changes, you can click the |
Interaction
This widget has no interaction events.
Blueprint editor interaction configuration
- On the Canvas Editor page, in the Basic Plane Map subcomponent management list, click the
icon to the right of Kriging Isosurface Layer - Click the
icon in the upper-left corner of the page. - On the blueprint editor configuration page, click the Kriging Isosurface Layer widget in the Import Node bar. The configuration parameters for the Kriging isosurface layer in the blueprint editor appear on the canvas, as shown in the following figure.
- Events
Event Description When the Interpolation Point Data Request Completes This event is triggered after the response from the interpolation point data API is returned and processed by a filter. The processed data is returned in JSON format. For a data sample, see the Data Response section on the Data tab in the widget's configuration panel. On Clipping Border Data Request Completion This event is triggered after the response from the clipping border data API is returned and processed by a filter. The processed data is returned in JSON format. For a data sample, see the Data Response section on the Data tab in the widget's configuration panel. When Interpolation Point Data API Request Fails This event is triggered when the interpolation point data API request fails due to issues such as network problems or API errors. The response is then processed by a filter. The processed data is returned in JSON format. For a data sample, see the Data Response section on the Data tab in the widget's configuration panel. When Clipping Border Data API Request Fails This event is triggered when the clipping border data API request fails due to issues such as network problems or API errors. The response is then processed by a filter. The processed data is returned in JSON format. For a data sample, see the Data Response section on the Data tab in the widget's configuration panel. - Actions
Action Description Request Interpolation Point Data API Resends a request for server-side data. The data from an input data processing node or a layer node is used as a parameter. For example, if the Kriging isosurface layer is configured with an API data source of http://api.testand the data passed to the Request Interpolation Point Data API action is{ id: '1'}, the final request URL ishttp://api.test?id=1.Request Clipping Border Data API Resends a request for server-side data. The data from an input data processing node or a layer node is used as a parameter. For example, if the Kriging isosurface layer is configured with an API data source of http://api.testand the data passed to the Request Clipping Border Data API action is{ id: '1'}, the final request URL ishttp://api.test?id=1.Import Interpolation Point Data API You can process the data into the format required by the component, and then import the component to re-render it. This eliminates the need to request data from the server-side again. For a data example, see the Data Response area on the Data tab of the component's configuration panel in the canvas editor. Import Clipping Border Data API After processing the data in the component's drawing format, you can import and redraw the component without requesting server-side data again. For data examples, see the Data tab and the Data Response Result area in the configuration panel to the right of the component in the canvas editor. Show Shows the widget. No parameter is required. Hide Hides the widget. No parameter is required.
- Events
Is this page helpful?