I. Overview
1. Problem description
When users have no network, they will find that GIS layers cannot be displayed when using point map. What should we do? As shown in the figure below, the map achieves offline point map:
2. Solutions
In the way of combination map, the area map can be used as the bottom layer (the data is empty), and the point map can be added for display.
II. Report Design
1. Data preparation
Create a new built-in dataset, as shown in the figure below:
2. Insert chart
Merge a region cell, right-click cell A1, and select cell element > insert chart > Map > Area map, as shown in the following figure:
3. Layer Settings
Select Type, select China as map boundary, and select null from GIS layer drop-down, as shown in the figure below:
4. Data binding
Select Data >Point Map, and select longitude and latitude positioning, as shown in the figure below:
5. Style design
1) Select Style > Label > Point Map and check UseLabel, as shown in the following figure:
2) Select Style > Series, select custom combination color for color matching, select Custom Picture for point style, set width to 20, height to 30 and opacity to 20, as shown in the figure below:
3) Set the map background, and change the filling color of the background todark blue, as shown in the following figure:
6. Effect preview
1) PC terminal
Save the template and click Pagination Preview. The effect is as follows:
2) Mobile terminal
III. Template download
Completed template, please refer to %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\Chart\Map\PointMap-Offline.cpt
Click to download the template: