Set parameters

A basic flat map container provides Basic Attributes and Global Options.
  • Basic Attributes: Allows you to set the basic flat map, including parameters of Background, Map Center, and Scale Ruler.
  • Global Options: Allows you to set the default parameters, including the background color, map zoom level, central latitude and longitude, and control scale.
    Note You can move the slider left and right to adjust the map zoom level,  or enter a zoom level.

    You can also configure the data source to change the map center and zoom level parameters.

    For example:
           "zoom": 4,
           "lng": 112,
           "lat": 34

Add child widgets

On the DataV console, you can add child widgets to a basic flat map and configure parameters of these child widgets to implement required functions. Supported child widgets include:
  • Basemap layer: map tile layer
  • Point layer: scatter layer, animation bubbles layer, points heatmap layer, and streaming bubble layer
  • Line layer
  • Surface layer: choropleth layer, isosurface layer, and grid heatmap layer
To add child widgets, follow these steps:
  1. Click the Basic Flat Map widget from the Maps in the toolbar to go to the Style configuration page on the right.
  2. Click the plus (+) sign on the right side of Child Management.
  3. Select a child widget and click Add a Child Widget, as shown in the following figure.
  4. Click the child widget that has been added and configure its parameters, as shown in the following figure.
  5. Click Back to go back to the basic flat map configuration panel.

Callback ID

The Basic Flat Map widget does not support the configuration of callback IDs.

However, some of its child widgets, such as the choropleth layer, line layer, and scatter layer, support callback IDs. The configuration of callback IDs allows you to implement map interactions. For more information, see Configure widget interaction.