Changeset 18838 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java
- Timestamp:
- 2009-11-28T17:05:44+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java
r18544 r18838 11 11 import org.openstreetmap.josm.Main; 12 12 import org.openstreetmap.josm.actions.JosmAction; 13 import org.openstreetmap.josm.data.projection.LambertCC9Zones;14 13 import org.openstreetmap.josm.tools.Shortcut; 15 14 … … 30 29 31 30 public void actionPerformed(ActionEvent e) { 32 // with the new projection LambertCC9Zones, we are able to determin the zone and thus lat/lon of 33 // downloaded commune bounding box 34 if (Main.map != null || Main.proj instanceof LambertCC9Zones) { 31 if (Main.map != null) { 35 32 if (CadastrePlugin.isCadastreProjection()) { 36 33 WMSLayer wmsLayer = WMSDownloadAction.getLayer(); … … 43 40 + "projections and retry")); 44 41 } 45 } 42 } else 43 new MenuActionNewLocation().actionPerformed(e); 46 44 } 47 45
Note:
See TracChangeset
for help on using the changeset viewer.