ReportPortal MAP SDK

ReportPortal MAP SDK is a windows based tool that generates XML files that can be used within ReportPortal.

ReportPortal MAP SDK has the following features:

Below is the description of the XML file format:

Name Description Sample Data
image Optional. Background image relative to the Maps folder (C:\Inetpub\wwwroot\ReportPortal\olap\Maps). USA.gif
opacity Polygon transparency. Especially useful when a background image is defined. 60%
strokeWeight Polygon border width 1
strokeColor Polygon border color black
highlightColor Color used for the mouse over effect blue
legendPercentBased 1 - Legend will show percents;
0 - Legend will show numbers
1
positiveColors List of colors to be used in the legend for the positive number range. <#DEFFDE>
<#BDFFBD>
negativeColors List of colors to be used in the legend for the negative number range. <#FFDEDE>
<#FFBDBD>
entity

Each map file can have many entities. For example, in United States each entity can represent each state.

Name Description Sample Data
code Code of the entity. Used for mapping the data to the entity. Will be visible when x and y attributes are specified. ND
name Name of the entity. Used for mapping the data to the entity. Will be visible on mouse-over effect. North Dakota
action Path to another MAP file that has details for the next drill-down level. Each file is relative to the Maps folder (C:\Inetpub\wwwroot\ReportPortal\olap\Maps). USStates/ND.xml
x Optional. X coordinate for the "code" label 315
y Optional. Y coordinate for the "code" label 230
path X,Y pair list. Each path represents a polygon. Each entity can have multiple polygons. For example, Michigan state is made out of two polygons. 214,27,212,27,206,27...

Free ESRI shapefile (.shp) resources: