Changeset 16594 in osm for applications/editors/josm/plugins/routes
- Timestamp:
- 2009-07-19T22:30:35+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/routes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routes/build.xml
r16431 r16594 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="1 725"/>37 <attribute name="Plugin-Mainversion" value="1815"/> 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/RelationEditMode.java
r16448 r16594 65 65 Way way = Main.map.mapView.getNearestWay(e.getPoint()); 66 66 67 Collection<OsmPrimitive> selectedRelations = Main. ds.getSelectedRelations();67 Collection<OsmPrimitive> selectedRelations = Main.main.getCurrentDataSet().getSelectedRelations(); 68 68 69 69 if (way != null) { -
applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RouteLayer.java
r16593 r16594 97 97 pathBuilder.clear(); 98 98 99 for (Relation relation:Main. ds.relations) {99 for (Relation relation:Main.main.getCurrentDataSet().relations) { 100 100 for (RouteDefinition route:routes) { 101 101 if (route.matches(relation)) { … … 105 105 } 106 106 107 for (Way way:Main. ds.ways) {107 for (Way way:Main.main.getCurrentDataSet().ways) { 108 108 for (RouteDefinition route:routes) { 109 109 if (route.matches(way)) {
Note:
See TracChangeset
for help on using the changeset viewer.