Changeset 7801 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor
- Timestamp:
- 2014-12-13T01:07:04+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r7752 r7801 1458 1458 private final int to; 1459 1459 private final List<StyleRecord> output; 1460 private final DataSet data;1461 1460 1462 1461 private final ElemStyles styles = MapPaintStyles.getStyles(); … … 1472 1471 * @param to last index + 1 1473 1472 * @param output the list of styles to which styles will be added 1474 * @param data the data set1475 1473 */ 1476 public ComputeStyleListWorker(final List<? extends OsmPrimitive> input, int from, int to, List<StyleRecord> output , DataSet data) {1474 public ComputeStyleListWorker(final List<? extends OsmPrimitive> input, int from, int to, List<StyleRecord> output) { 1477 1475 this.input = input; 1478 1476 this.from = from; 1479 1477 this.to = to; 1480 1478 this.output = output; 1481 this.data = data;1482 1479 this.styles.setDrawMultipolygon(drawMultipolygon); 1483 1480 } … … 1595 1592 int to = Math.min((i+1)*bucketsize, prims.size()); 1596 1593 List<StyleRecord> target = singleThread ? allStyleElems : new ArrayList<StyleRecord>(to - from); 1597 tasks.add(new ComputeStyleListWorker(prims, from, to, target , data));1594 tasks.add(new ComputeStyleListWorker(prims, from, to, target)); 1598 1595 } 1599 1596 if (singleThread) {
Note:
See TracChangeset
for help on using the changeset viewer.
