Ignore:
Timestamp:
2009-06-11T00:14:14+02:00 (15 years ago)
Author:
pieren
Message:

Fix JOSM trac Ticket #2678 (allow WMSLayer displace only for raster images, not vector images)

File:
1 edited

Legend:

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

    r13497 r15841  
    3333        public WMSAdjustAction(MapFrame mapFrame) {
    3434                super(tr("Adjust WMS"), "adjustxywms",
    35                                                 tr("Adjust the position of the WMS layer"), mapFrame,
     35                                                tr("Adjust the position of the WMS layer (raster images only)"), mapFrame,
    3636                                                ImageProvider.getCursor("normal", "move"));
    3737        }
     
    8282            mode = Mode.moveXY;
    8383        for (Layer layer : Main.map.mapView.getAllLayers()) {
    84             if (layer.visible && layer instanceof WMSLayer) {
     84            if (layer.visible && layer instanceof WMSLayer && ((WMSLayer)layer).isRaster()) {
    8585                prevEastNorth = Main.map.mapView.getEastNorth(e.getX(), e.getY());
    8686                selectedLayer = ((WMSLayer) layer);
Note: See TracChangeset for help on using the changeset viewer.