The metabase map uses and converts domestic map sources

1. Configuration method

Switch administrator login, manage background--map--add a map

 2. Map Settings

URL of the GeoJSON file: # China + provinces and cities json https://geo.datav.aliyun.com/areas_v2/bound/100000_full.json

Data reference for other provinces and cities:

Geojson map json data of provinces, municipalities and cities across the country icon-default.png?t=M85Bhttps://blog.csdn.net/superhoy/article/details/107950220

 Among them, the selection of the following parameter corresponds to the data source, that is, the data in the database.

 The following parameter selection is the front-end display

 

 3. Map usage

data style

Map visualization configuration 

Among them, the selection of "Region Field" corresponds to the following one set before. If name is selected in the following, then province_name should also be selected in the "Regional Field" of the visualization. Note that the names of provinces and cities are all full names.

Reference link for the corresponding relationship between adcode and full name of provinces and cities in all provinces in China: https://pan.baidu.com/s/1Hv_VrdU7Iisqs_KDzgoseA Extraction code: ohpu 
 

Supongo que te gusta

Origin blog.csdn.net/sunzongpeng/article/details/127263658
Recomendado
Clasificación