Changeset 33447 in osm for applications
- Timestamp:
- 2017-07-14T22:42:45+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/public_transport_layer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport_layer/build.xml
r33350 r33447 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value="1 1722"/>5 <property name="plugin.main.version" value="12476"/> 6 6 7 7 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/public_transport_layer/src/ptl/PublicTransportLayer.java
r33350 r33447 32 32 import org.openstreetmap.josm.gui.mappaint.StyleKeys; 33 33 import org.openstreetmap.josm.gui.mappaint.styleelement.TextLabel; 34 import org.openstreetmap.josm.gui.mappaint.styleelement.placement.OnLineStrategy; 34 35 import org.openstreetmap.josm.tools.ColorHelper; 35 36 import org.openstreetmap.josm.tools.ImageProvider; … … 104 105 way.addNode(nodePair.a); 105 106 way.addNode(nodePair.b); 106 renderer.drawText(way, text );107 renderer.drawText(way, text, OnLineStrategy.INSTANCE); 107 108 } 108 109 }
Note:
See TracChangeset
for help on using the changeset viewer.