Changeset 35988 in osm for applications/editors
- Timestamp:
- 2022-06-17T15:14:18+02:00 (2 years ago)
- Location:
- applications/editors/josm/plugins/utilsplugin2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/build.xml
r35856 r35988 5 5 <property name="commit.message" value="[josm_utilsplugin2]: select boundary by double-click; multitagger table highlights"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="18 173"/>7 <property name="plugin.main.version" value="18495"/> 8 8 9 9 <property name="plugin.author" value="Kalle Lampila, Upliner, Zverik, akks, joshdoe and others"/> -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java
r35986 r35988 22 22 import org.openstreetmap.josm.data.UndoRedoHandler; 23 23 import org.openstreetmap.josm.data.coor.EastNorth; 24 import org.openstreetmap.josm.data.coor. LatLon;24 import org.openstreetmap.josm.data.coor.ILatLon; 25 25 import org.openstreetmap.josm.data.coor.PolarCoor; 26 26 import org.openstreetmap.josm.data.osm.DataSet; … … 108 108 109 109 // see #10777: calculate reasonable number of nodes for full circle (copy from CreateCircleAction) 110 LatLon ll1 = ProjectionRegistry.getProjection().eastNorth2latlon(p1);111 LatLon ll2 = ProjectionRegistry.getProjection().eastNorth2latlon(center);110 ILatLon ll1 = ProjectionRegistry.getProjection().eastNorth2latlon(p1); 111 ILatLon ll2 = ProjectionRegistry.getProjection().eastNorth2latlon(center); 112 112 113 113 double radiusInMeters = ll1.greatCircleDistance(ll2);
Note:
See TracChangeset
for help on using the changeset viewer.