Changeset 29390 in osm for applications
- Timestamp:
- 2013-03-24T06:51:38+01:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/imagery_offset_db
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/build.xml
r27986 r29390 99 99 <manifest> 100 100 <attribute name="Author" value="Ilya Zverev"/> 101 <attribute name="ru_Author" value="Илья Зверев"/> 101 102 <attribute name="Plugin-Class" value="iodb.ImageryOffsetPlugin"/> 102 103 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> … … 104 105 <attribute name="ru_Plugin-Description" value="База данных смещений подложек: загружайте и делитесь смещениями одной кнопкой."/> 105 106 <attribute name="Plugin-Icon" value="images/iodb.png"/> 106 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/ImageryOffsetDB"/> 107 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/Imagery_Offset_Database"/> 108 <attribute name="ru_Plugin-Link" value="http://wiki.openstreetmap.org/wiki/RU:Imagery_Offset_Database"/> 107 109 <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/> 108 110 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> -
applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetTools.java
r29384 r29390 140 140 if( d < 950 ) return formatDistance(d, tr("m"), false ); 141 141 if( d < 9500 ) return formatDistance(d / 1000, tr("km"), true); 142 return formatDistance(d / 1000, tr("km"), false); 142 if( d < 1e6 ) return formatDistance(d / 1000, tr("km"), false); 143 return "\u221E"; 143 144 } 144 145 -
applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetDialogButton.java
r29388 r29390 89 89 topLine.add(authorAndDateLabel); 90 90 topLine.add(Box.createHorizontalGlue()); 91 topLine.add(Box.createHorizontalStrut(10)); 91 92 topLine.add(distanceLabel); 92 93 … … 177 178 Graphics2D g2 = (Graphics2D)g.create(); 178 179 g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); 179 if( direction >= 0) {180 if( !isCalibration ) { 180 181 g2.setColor(Color.black); 181 182 Point c = new Point(x + getIconWidth() / 2, y + getIconHeight() / 2);
Note:
See TracChangeset
for help on using the changeset viewer.