I. Description
For custom maps, many users are not clear about the complete production process. Here is a complete case of custom drill map JSON, from East China province.
Note: This is achieved by using the method of custom image. You can also directly use the geographic information provided by the designer.
II. Examples
1. Map JSON production
Open the designer, select server > map data, and jump to the decision system http://localhost:8075/webroot/decision/map/edit
Add China and East China under the custom pictures directory, as shown in the following figure:
In each directory, import the map image.
2. Area map making
After adding a new directory and importing images, select China. Take the area map as an example, you can outline the region in the map interface on the right
When drawing a map, you can enlarge the map to make it more convenient
When drawing wrong, you can delete the previous point in the upper right corner. Click the first starting point to draw a complete map.
Enter the area name and center point in the pop-up box, and then save
Note: the Area Name "East China" here should be consistent with the "East China" in the directory.
Then, click save in the upper right corner to complete the map of East China
The final results are as follows:
In the same way, the East China region and provinces and cities are outlined, and the final results are as follows:
3. Point map making
The above describes how to make a area map. If you want to make a point map, just click the mark point on the right, move to the corresponding position, pop up the box, fill in the area name, for example, here are Shandong Province.
Finally, remember to click the Save button in the upper right corner to complete the point map.
4. Drilling map template making
1) Data preparation
Create a new workbook and add a built-in data set embedded1:
2) Insert chart
Take the cell chart as an example, merge a cell, click Insert > cell element > insert chart, and select Custom map, as shown in the following figure:
Select China under custom image for map border. You can select the GIS layer and initial state by yourself, as shown in the following figure:
Note: selecting area map means drilling every level is area map; point map is similar.
Note: when selecting a combined map, it means that the user can set the map type corresponding to each level.
3) Map data settings
The type of drill level is area map by default and can be modified to point map. If both area map and point map have been created during map JSON creation, you can specify the following for each level:
Each level of map data selection is specified separately. Here, the settings of each level are the same:
You can further set the chart style in the chart property sheet as needed, such as setting the title, font size, color, legend and label, which will not be introduced here
5. Save and Preview
Save the template and click pagination preview. The effect is as above I. Description .
III. Template download
Completed template, please refer to %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\Chart\Map\DrillEastChina.cpt
Click to download the template: