Ignore:
Timestamp:
2009-07-03T12:34:14+02:00 (15 years ago)
Author:
stoecker
Message:

adapted plugins to JOSm 1722, UtilsPlugin still has a problem

Location:
applications/editors/josm/plugins/agpifoj/src/org/openstreetmap/josm/plugins/agpifoj
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/agpifoj/src/org/openstreetmap/josm/plugins/agpifoj/AgpifojDialog.java

    r14916 r16290  
    124124            centerView = ((JToggleButton) e.getSource()).isSelected();
    125125            if (centerView && currentEntry != null && currentEntry.pos != null) {
    126                 Main.map.mapView.zoomTo(currentEntry.pos, Main.map.mapView.getScale());
     126                Main.map.mapView.zoomTo(currentEntry.pos);
    127127            }
    128128
     
    153153
    154154            if (centerView && Main.map != null && entry != null && entry.pos != null) {
    155                 Main.map.mapView.zoomTo(entry.pos, Main.map.mapView.getScale());
     155                Main.map.mapView.zoomTo(entry.pos);
    156156            }
    157157
  • applications/editors/josm/plugins/agpifoj/src/org/openstreetmap/josm/plugins/agpifoj/CorrelateGpxWithImages.java

    r15960 r16290  
    623623                BoundingXYVisitor bbox = new BoundingXYVisitor();
    624624                l.visitBoundingBox(bbox);
    625                 if (bbox.min != null && bbox.max != null) {
     625                if (bbox.getBounds() != null) {
    626626                    boundingBoxedLayerFound = true;
    627627                    break;
Note: See TracChangeset for help on using the changeset viewer.