All Products
Document Center

Choropleth layer usage guide

Last Updated: Jul 11, 2018

GeoJSON-based border data application

  1. Select Choropleth Layer > Data > Geographical Boundaries.

  2. Obtain GeoJSON-format district border data and paste the data to the data entry area, as shown in the following figure.

    input data

  3. Publish the project to see the configured choropleth layer.

District text annotation offset problem


  • DataV supports Choropleth Layer v0.2.4 and later versions. If you are using an earlier choropleth layer version, delete this layer first, and then add a choropleth layer of a later version.
  • Data in the GeoJSON extraction tool have been updated. You must download the new GeoJSON data to replace the local GeoJSON data.

Parameter modifications

  1. Select Choropleth Layer > Data > Geographical Boundaries.

  2. Find properties of the text offset district in the data source entry area and add the custom parameter, such as "customLabelPosition": [112.500801,22.927694].

    parameter modification

Note: You can also add the customLabelPosition parameter by using

Custom district style

The choropleth layer supports preferential data rendering. If the color, weight, fillColor and dashArray fields are configured, the corresponding districts in the map will be rendered according to these parameters. The fillColor field supports three parameter forms: red, #fff000 and rgba(0,256,0,0.5).