Ignore:
Timestamp:
2011-07-01T00:44:06+02:00 (13 years ago)
Author:
pieren
Message:

For v2.2

  • replace deprecated Main.proj by newest Main.getProjection()
  • fix list of raster images (Feuilles) parsing failing after a Cadastre server change/maintenance
File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrabPlanImage.java

    r24934 r26228  
    141141            return;
    142142        if (ignoreMouseClick) return; // In case we are currently just allowing zooming to read lambert coordinates
    143         EastNorth ea = Main.proj.latlon2eastNorth(Main.map.mapView.getLatLon(e.getX(), e.getY()));
     143        EastNorth ea = Main.getProjection().latlon2eastNorth(Main.map.mapView.getLatLon(e.getX(), e.getY()));
    144144        System.out.println("clic:"+countMouseClicked+" ,"+ea+", mode:"+mode);
    145145        if (clickOnTheMap) {
Note: See TracChangeset for help on using the changeset viewer.