Ignore:
Timestamp:
2010-02-07T23:49:38+01:00 (16 years ago)
Author:
pieren
Message:

from Clément Ménier, new WMLayer always on bottom

File:
1 edited

Legend:

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

    r19267 r19928  
    8585                zone = ((UTM_20N_France_DOM)Main.proj).getCurrentGeodesic();
    8686            wmsLayer = new WMSLayer(location, codeCommune, zone);
    87             Main.main.addLayer(wmsLayer);
     87            CadastrePlugin.addWMSLayer(wmsLayer);
    8888            System.out.println("Add new layer with Location:" + inputTown.getText());
    8989        } else if (existingLayers != null && existingLayers.size() > 0 && Main.map.mapView.getActiveLayer() instanceof WMSLayer) {
Note: See TracChangeset for help on using the changeset viewer.