Ignore:
Timestamp:
2009-08-16T23:36:16+02:00 (16 years ago)
Author:
pieren
Message:

raster image feature implementation

File:
1 edited

Legend:

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

    r15961 r17089  
    3030        WMSLayer wmsLayer = addNewLayer(new ArrayList<WMSLayer>());
    3131        if (wmsLayer != null)
    32             DownloadWMSTask.download(wmsLayer);
     32            DownloadWMSVectorImage.download(wmsLayer);
    3333    }
    3434
     
    7979                Main.pref.put("cadastrewms.codeCommune", codeCommune);
    8080                for (Layer l : Main.map.mapView.getAllLayers()) {
    81                     if (l instanceof WMSLayer && l.name.equalsIgnoreCase(location + codeDepartement)) {
     81                    if (l instanceof WMSLayer && l.getName().equalsIgnoreCase(location + codeDepartement)) {
    8282                        return null;
    8383                    }
     
    9393
    9494            if (resetCookie)
    95                 CadastrePlugin.cadastreGrabber.getWmsInterface().resetCookieIfNewLayer(wmsLayer.name);
     95                CadastrePlugin.cadastreGrabber.getWmsInterface().resetCookieIfNewLayer(wmsLayer.getName());
    9696            return wmsLayer;
    9797        }
Note: See TracChangeset for help on using the changeset viewer.