Changeset 18427 in osm for applications/editors
- Timestamp:
- 2009-11-02T21:12:54+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 4 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)) { -
applications/editors/josm/plugins/surveyor/build.xml
r17384 r18427 37 37 <attribute name="Plugin-Description" value="Allow adding markers/nodes on current gps positions."/> 38 38 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Surveyor"/> 39 <attribute name="Plugin-Mainversion" value="2 012"/>39 <attribute name="Plugin-Mainversion" value="2388"/> 40 40 <attribute name="Plugin-Requires" value="livegps"/> 41 41 <attribute name="Plugin-Stage" value="60"/> -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/action/SetNodeAction.java
r16625 r18427 70 70 node.put("created_by", "JOSM-surveyor-plugin"); 71 71 synchronized(LiveGpsLock.class) { 72 Main.map.mapView.getEditLayer().data. nodes.add(node);72 Main.map.mapView.getEditLayer().data.addPrimitive(node); 73 73 Main.main.getCurrentDataSet().setSelected(node); 74 74 }
Note:
See TracChangeset
for help on using the changeset viewer.