Changeset 32132 in osm for applications/editors/josm


Ignore:
Timestamp:
2016-03-28T19:22:53+02:00 (9 years ago)
Author:
mkyral
Message:

PointInfo: Fix breakage caused by API cleaning.

Location:
applications/editors/josm/plugins/pointInfo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pointInfo/README.md

    r30373 r32132  
    3434    * [![](https://raw.githubusercontent.com/mkyral/josm-pointInfo/master/images/dialogs/create-addr.png)] Create an address point on position where was clicked
    3535    * [![](https://raw.githubusercontent.com/mkyral/josm-pointInfo/master/images/dialogs/create-addr-ruian.png)] Create an address point on position defined in RUIAN
     36    * [![](https://raw.githubusercontent.com/mkyral/josm-pointInfo/master/images/dialogs/create-bug-report.png)] Report an issue with building
    3637
    3738---
  • applications/editors/josm/plugins/pointInfo/build.xml

    r31926 r32132  
    33
    44    <!-- enter the SVN commit message -->
    5     <property name="commit.message" value="PointInfo: can load at runtime."/>
     5    <property name="commit.message" value="PointInfo: Fix breakage caused by API cleaning."/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="7001"/>
     7    <property name="plugin.main.version" value="10060"/>
    88
    99    <!-- plugin can load at runtime -->
  • applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruianModule.java

    r30833 r32132  
    707707            JsonArray node = adresniMisto.getJsonArray("pozice");
    708708            am.setPosition(new LatLon(
    709               LatLon.roundToOsmPrecisionStrict(node.getJsonNumber(1).doubleValue()),
    710               LatLon.roundToOsmPrecisionStrict(node.getJsonNumber(0).doubleValue()))
     709              LatLon.roundToOsmPrecision(node.getJsonNumber(1).doubleValue()),
     710              LatLon.roundToOsmPrecision(node.getJsonNumber(0).doubleValue()))
    711711            );
    712712          } catch (Exception e) {
Note: See TracChangeset for help on using the changeset viewer.