Ignore:
Timestamp:
2010-12-29T23:18:37+01:00 (16 years ago)
Author:
pieren
Message:

Removed the building shapes recognition

File:
1 edited

Legend:

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

    r24899 r24907  
    2020    private static String errorMessage;
    2121
    22     public DownloadWMSVectorImage(WMSLayer wmsLayer, Bounds bounds, boolean buildingsOnly) {
     22    public DownloadWMSVectorImage(WMSLayer wmsLayer, Bounds bounds) {
    2323        super(tr("Downloading {0}", wmsLayer.getName()));
    2424
    2525        this.wmsLayer = wmsLayer;
    2626        this.bounds = bounds;
    27         this.wmsLayer.setBuildingsOnly(buildingsOnly);
    2827    }
    2928
     
    8483    }
    8584
    86     public static void download(WMSLayer wmsLayer, boolean buildingsOnly) {
     85    public static void download(WMSLayer wmsLayer) {
    8786        MapView mv = Main.map.mapView;
    8887        Bounds bounds = new Bounds(mv.getLatLon(0, mv.getHeight()), mv.getLatLon(mv.getWidth(), 0));
    8988
    90         Main.worker.execute(new DownloadWMSVectorImage(wmsLayer, bounds, buildingsOnly));
     89        Main.worker.execute(new DownloadWMSVectorImage(wmsLayer, bounds));
    9190        if (errorMessage != null)
    9291            JOptionPane.showMessageDialog(Main.parent, errorMessage);
Note: See TracChangeset for help on using the changeset viewer.