Changeset 30184 in osm for applications/editors/josm
- Timestamp:
- 2014-01-05T14:50:22+01:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/smed2
- Files:
-
- 20 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/render/Renderer.java
r30157 r30184 198 198 switch (feature.flag) { 199 199 case LINE: 200 Edge edge = map.edges.get(feature. refs);200 Edge edge = map.edges.get(feature.id); 201 201 area = map.new Area(); 202 202 area.add(map.new Bound(map.new Side(edge, true), true)); 203 203 break; 204 204 case AREA: 205 area = map.areas.get(feature. refs);205 area = map.areas.get(feature.id); 206 206 break; 207 207 default: … … 288 288 switch (feature.flag) { 289 289 case LINE: 290 EdgeIterator eit = map.new EdgeIterator(map.edges.get(feature. refs), true);290 EdgeIterator eit = map.new EdgeIterator(map.edges.get(feature.id), true); 291 291 point = context.getPoint(eit.next()); 292 292 p.moveTo(point.getX(), point.getY()); … … 297 297 break; 298 298 case AREA: 299 for (Bound bound : map.areas.get(feature. refs)) {299 for (Bound bound : map.areas.get(feature.id)) { 300 300 BoundIterator bit = map.new BoundIterator(bound); 301 301 point = context.getPoint(bit.next()); … … 373 373 break; 374 374 case AREA: 375 for (Bound bound : map.areas.get(feature. refs)) {375 for (Bound bound : map.areas.get(feature.id)) { 376 376 BoundIterator bit = map.new BoundIterator(bound); 377 377 point = context.getPoint(bit.next()); … … 506 506 switch (feature.flag) { 507 507 case LINE: 508 Edge edge = map.edges.get(feature. refs);508 Edge edge = map.edges.get(feature.id); 509 509 area = map.new Area(); 510 510 area.add(map.new Bound(map.new Side(edge, true), true)); 511 511 break; 512 512 case AREA: 513 area = map.areas.get(feature. refs);513 area = map.areas.get(feature.id); 514 514 break; 515 515 default:
Note:
See TracChangeset
for help on using the changeset viewer.