Overview
Sometimes you want to display the corresponding data only for the selected map based on the parameters selected from the drop-down list. For example, if you select Fujian Province, the map of Fujian Province will be highlighted, as shown in the following figure.

Example
Data Preparation
Create a workbook, and add dataset ds1 by entering the SQL statement SELECT * FROM Map, which records sales data for various provinces and cities in China, as shown in the following figure.
Chart Insertion
Take the cell chart as an example. Merge required cells, insert Area Map, and select Standard > Null as GIS Layer, as shown in the following figure.

Chart Data Binding
Bind the data to the chart. The following figure shows the detailed setting.
Parameter Setting
1. You want to select the corresponding province through the drop-down list and dynamically display the corresponding province's map. Choose Template > Template Parameter and create parameter $province, as shown in the following figure.
2. Add the parameter to the parameter panel. Select Drop-down as the type of the province parameter control, as shown in the following figure.
3. Select the map and choose Cell Element > Type on the right property panel. Select province that was just added under the template parameters for Map Border, as shown in the following figure.
4. The value corresponding to the parameter is the file path in the geographic directory where the map file is located %FR_HOME%\webapps\webroot\WEB-INF\assets\map\geographic.
For example, province= "geographic/world/China/Jiangsu Province" corresponds to world/China/Jiangsu Province.json in the map directory.
Create dataset ds2. The SQL statement is SELECT distinct pid,'geographic/world/China/'||pid as newpid FROM Map where pid is not null, as shown in the following figure.
5. Set Data Dictionary for the province drop-down box widget, where Actual Value is newpid (corresponding to the province map within the map), and Display Value is pid (province name), as shown in the following figure.
Effect Display
1. PC
Save the template and click Pagination Preview. The following figure shows the effect.
2. Mobile Terminal
Template Download
Click to download the template MapPara.cpt.