Changeset 18427 in osm for applications/editors/josm/plugins/routes
- Timestamp:
- 2009-11-02T21:12:54+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/routes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routes/build.xml
r18076 r18427 35 35 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 36 36 <attribute name="Plugin-Description" value="Renders routes (bus, hiking trails, bicycle routes, ..). Route types must be defined in routes.xml file in plugin directory"/> 37 <attribute name="Plugin-Mainversion" value="2 263"/>37 <attribute name="Plugin-Mainversion" value="2388"/> 38 38 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 39 39 </manifest> -
applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RouteLayer.java
r17564 r18427 1 1 package org.openstreetmap.josm.plugins.routes; 2 2 3 import java.awt.Stroke;4 3 import java.awt.Color; 5 4 import java.awt.Component; 6 5 import java.awt.Graphics; 7 6 import java.awt.Graphics2D; 7 import java.awt.Stroke; 8 8 import java.util.ArrayList; 9 9 import java.util.List; … … 105 105 pathBuilder.clear(); 106 106 107 for (Relation relation:dataset. relations) {107 for (Relation relation:dataset.getRelations()) { 108 108 for (RouteDefinition route:routes) { 109 109 if (route.matches(relation)) { … … 113 113 } 114 114 115 for (Way way:dataset. ways) {115 for (Way way:dataset.getWays()) { 116 116 for (RouteDefinition route:routes) { 117 117 if (route.matches(way)) {
Note:
See TracChangeset
for help on using the changeset viewer.