I. Overview
1. Version
Designer version | JAR | Plugin version |
---|---|---|
10.0 | 2017-08-15 | V1.2.2 |
Note 2: Mobile terminal is not supported.
Note 3: IE 8.0 is not supported.
Note 4: Intranet access is not supported, additional customization is required.
2. Application scenarios
The plugin provides two map modes, each of which can be used in the following scenarios:
Point Map: Suitable for marking map location and corresponding location marks, such as national store distribution, distribution of city distribution stations.
Heat Map: Used to display the population distribution, density and change trend in a specific region, such as the trend of national user visits.
3. Function introduction
Fully simulates native map functionality.
Supports connection to local ArcGis service.
Support switching official BaseMap.
Support address latitude and longitude transfer (online geocoding).
4. Implementation principle
ArcGis is a geographic information visualization tool under Esri, and is an international professional Gis service provider. With its built-in tools, you can quickly make beautiful BaseMap.
This plugin can connect to published ArcGis maps and display the data obtained by FineReport on the map. The basic BaseMap and Theme types are built into the plugin, making it easy for users to quickly get started using location data.
II. Plugin introduction
1. Install the plugin
Note: If you need to obtain the plugin, please contact FanRuan sales.
Designer plugin installation method reference: Plugin Management
Server installation plugin method reference: Server plugin management
2. Steps
1) General report
After the plugin is installed, click Insert Chart, the ArcGis Map Plugin will be added to the Chart Type interface, and you can directly insert it into the cell.
2) Dashboard
After the plugin is installed, drag the ArcGis map into the report design body in the Chart panel for use.
3. Attributes Settings
1) Dataa) Addr
The system automatically invoks geocoding service for latitude and longitude conversion (default coordinate system BD09ll).
b) Lat&Lon
Customize the longitude and latitude data location coordinates. The longitude and latitude data must be separated by commas (,).
2) Stylea) Basic
The settings include: title, background, zoom, etc.
b) BaseMap
To set the Basemap, there are two ways to define it:
Common: Integrated official map with 8 styles to choose from.
Custom: Can be configured for their own ArcGis map service.
c) Theme
Point Map: You can configure the counties information.
Heat Map: Heat weight information can be configured.
III. Example
1. Data preparation
1) Create a dashboard, place Lat&Lon data of some counties in China.xls in %FR_HOME%\webapps\webroot\WEB-INF\reportlets directory, and create a new file dataset File1 as shown below.
There are two fields in the file dataset:
Name: Name of the counties.
Lat&Lon: The latitude and longitude of the site, separated by commas.
2) Drag the ArcGis map into the report design body.
2. Configure the data
Configure the data information of the map as shown below.
When you hover the mouse over an address, the dot information corresponding to the address is displayed, including the address name and dot/weight.
3. Configure the style
1) Check the Title is Visible. Insert the formula: "Lat&Lon data of some counties in China". Set the font size of the title as 16 and the color as orange.
Note: The title in the formula must be in double quotation marks, otherwise the setting is invalid.
2) The default setting of the BaseMap is streets.
3) The theme adopts Point Map, check the Show Lable Info.
Note: If you do not check the Show Lable Info, the address name and dot/weight information will not be displayed when the mouse hover over the address.
4. Preview effect
Save the report, click PC Preview and the Point Map style as follows:
If the theme is Heat Map, it will look like this:
IV. Download template
Click to download: ArcGis Map.frm
Click to download the Excel used for the file dataset: Lat&Lon data of some counties in China.xls