You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: Report has a map component and is given a datasource with multiple entries, say 3, each row has different path data.
When the report is filled, the MapFillComponent does not reset the path data from the preceding entries such that the pathDataList.get(0).evaluatedItems is accumulating the paths from previous entries. The outcome is that the first entry shows it's path ok, the second entry shows both its own path and the path for entry 1 as one path, and the third entry shows all three paths, again all joined up as one path.
Shouldn't the paths be reset for each entry? See map examples below.
Entry 1
Entry 2
Entry 3
The text was updated successfully, but these errors were encountered:
You mean you want to ave 3 independent regions without them being linked with lines. You want 3 islands, right?
No, I am saying that the connected island phenomenon is a bug that becomes apparent when you have more than one row in your dataset. Each map should only show one of the polygons, but the dataset rows are not resetting the map data from the previous row such that they are accumulating as the report adds more entries. If there is only one item in your report (i.e. one map, if each item has one map), then this bug is not apparent.
jasperreports/jasperreports/src/net/sf/jasperreports/components/map/fill/MapFillComponent.java
Line 228 in ba5628a
Scenario: Report has a map component and is given a datasource with multiple entries, say 3, each row has different path data.
When the report is filled, the MapFillComponent does not reset the path data from the preceding entries such that the pathDataList.get(0).evaluatedItems is accumulating the paths from previous entries. The outcome is that the first entry shows it's path ok, the second entry shows both its own path and the path for entry 1 as one path, and the third entry shows all three paths, again all joined up as one path.
Shouldn't the paths be reset for each entry? See map examples below.
Entry 1
Entry 2
Entry 3
The text was updated successfully, but these errors were encountered: