Changeset 18207 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java
- Timestamp:
- 2009-10-18T18:11:09+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java
r17181 r18207 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.actions.JosmAction; 12 import org.openstreetmap.josm.data.projection.LambertCC9Zones; 12 13 import org.openstreetmap.josm.tools.Shortcut; 13 14 … … 28 29 29 30 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) { 31 34 if (CadastrePlugin.isCadastreProjection()) { 32 35 WMSLayer wmsLayer = WMSDownloadAction.getLayer();
Note:
See TracChangeset
for help on using the changeset viewer.
