Changeset 27142 in osm for applications
- Timestamp:
- 2011-11-25T09:43:52+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/piclayer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/piclayer/build.xml
r27139 r27142 22 22 --> 23 23 <project name="PicLayer" default="dist" basedir="."> 24 <property name="commit.message" value="PicLayer - selection points are enlarged to 10 px"/>24 <property name="commit.message" value="PicLayer - fixing #7075.2"/> 25 25 <property name="plugin.main.version" value="4549"/> 26 26 <!-- -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/layer/PicLayerAbstract.java
r27139 r27142 360 360 props.put(POSITION_X, Double.toString(imagePosition.getX())); 361 361 props.put(POSITION_Y, Double.toString(imagePosition.getY())); 362 props.put(INITIAL_SCALE, Double.toString(initialImageScale)); 362 363 } 363 364 … … 383 384 AffineTransform transform; 384 385 385 if (props.containsKey( INITIAL_POS_X)) {// old format386 if (props.containsKey(SCALEX)) {// old format 386 387 double in_pos_x = Double.valueOf( props.getProperty(INITIAL_POS_X)); 387 388 double in_pos_y = Double.valueOf( props.getProperty(INITIAL_POS_Y)); … … 401 402 initialImageScale = in_scale; 402 403 } else { 403 double pos_x = Double.valueOf( props.getProperty(POSITION_X)); 404 double pos_y = Double.valueOf( props.getProperty(POSITION_Y)); 404 double pos_x = Double.valueOf(props.getProperty(POSITION_X)); 405 double pos_y = Double.valueOf(props.getProperty(POSITION_Y)); 406 405 407 imagePosition = new EastNorth(pos_x, pos_y); 406 initialImageScale = 1; //in_scale408 initialImageScale = Double.valueOf(props.getProperty(INITIAL_SCALE)); //in_scale 407 409 408 410 // initialize matrix
Note:
See TracChangeset
for help on using the changeset viewer.