Ignore:
Timestamp:
2011-07-01T00:44:06+02:00 (15 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/CadastrePlugin.java

    r25046 r26228  
    122122 *                 - move the grabber from CadastrPlugin singleton to each wmsLayer instance to allow grabbing
    123123 *                   of multiple municipalities in parallel.
     124 * 2.2 01-Jul-2011 - replace deprecated Main.proj by newest Main.getProjection()
     125 *                 - fix list of raster images (Feuilles) parsing failing after a Cadastre server change/maintenance
    124126 */
    125127public class CadastrePlugin extends Plugin {
     
    350352
    351353    public static boolean isCadastreProjection() {
    352         return Main.proj.toString().equals(new Lambert().toString())
    353             || Main.proj.toString().equals(new UTM_France_DOM().toString())
    354             || Main.proj.toString().equals(new LambertCC9Zones().toString());
     354        return Main.getProjection().toString().equals(new Lambert().toString())
     355            || Main.getProjection().toString().equals(new UTM_France_DOM().toString())
     356            || Main.getProjection().toString().equals(new LambertCC9Zones().toString());
    355357    }
    356358
Note: See TracChangeset for help on using the changeset viewer.