Ignore:
Timestamp:
2009-10-18T18:11:09+02:00 (17 years ago)
Author:
pieren
Message:

Use the new cadastre projection LambertCC9Zones

File:
1 edited

Legend:

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

    r17181 r18207  
    1010import org.openstreetmap.josm.Main;
    1111import org.openstreetmap.josm.actions.JosmAction;
     12import org.openstreetmap.josm.data.projection.LambertCC9Zones;
    1213import org.openstreetmap.josm.tools.Shortcut;
    1314
     
    2829
    2930    public void actionPerformed(ActionEvent e) {
    30         if (Main.map != null) {
     31        // with the new projection LambertCC9Zones, we are able to determin the zone and thus lat/lon of
     32        // downloaded commune bounding box
     33        if (Main.map != null || Main.proj instanceof LambertCC9Zones) {
    3134            if (CadastrePlugin.isCadastreProjection()) {
    3235                WMSLayer wmsLayer = WMSDownloadAction.getLayer();
Note: See TracChangeset for help on using the changeset viewer.