Changeset 18597 in osm for applications/editors/josm/plugins/livegps
- Timestamp:
- 2009-11-14T20:01:49+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/livegps
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
.classpath (modified) (1 diff)
-
build.xml (modified) (1 diff)
-
src/livegps/LiveGpsLayer.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps
- Property svn:ignore
-
old new 3 3 build.err 4 4 josm-site.xml 5 6 bin
-
- Property svn:ignore
-
applications/editors/josm/plugins/livegps/.classpath
r14057 r18597 2 2 <classpath> 3 3 <classpathentry kind="src" path="src"/> 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER /org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/sun-jdk-1.5.0.15"/>4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 5 5 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 6 6 <classpathentry kind="output" path="bin"/> -
applications/editors/josm/plugins/livegps/build.xml
r18404 r18597 26 26 <attribute name="Plugin-Description" value="Support live GPS input (moving dot) through a connection to gpsd server."/> 27 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/LiveGPS"/> 28 <attribute name="Plugin-Mainversion" value="2 323"/>28 <attribute name="Plugin-Mainversion" value="2450"/> 29 29 <attribute name="Plugin-Stage" value="50"/> 30 30 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> -
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsLayer.java
r16945 r18597 4 4 5 5 import java.awt.Color; 6 import java.awt.Graphics; 6 import java.awt.Graphics2D; 7 7 import java.awt.Point; 8 8 import java.beans.PropertyChangeEvent; … … 14 14 15 15 import org.openstreetmap.josm.Main; 16 import org.openstreetmap.josm.data.Bounds; 16 17 import org.openstreetmap.josm.data.coor.LatLon; 17 18 import org.openstreetmap.josm.data.gpx.GpxData; … … 20 21 import org.openstreetmap.josm.gui.MapView; 21 22 import org.openstreetmap.josm.gui.layer.GpxLayer; 22 import org.openstreetmap.josm.tools.ColorHelper;23 23 24 24 public class LiveGpsLayer extends GpxLayer implements PropertyChangeListener { … … 101 101 } 102 102 103 @Override public void paint(Graphics g, MapView mv) 103 @Override public void paint(Graphics2D g, MapView mv, Bounds bounds) 104 104 { 105 105 //System.out.println("in paint"); 106 106 synchronized (LiveGpsLock.class) { 107 107 //System.out.println("in synced paint"); 108 super.paint(g, mv); 108 super.paint(g, mv, bounds); 109 109 // int statusHeight = 50; 110 110 // Rectangle mvs = mv.getBounds();
Note:
See TracChangeset
for help on using the changeset viewer.
