Ignore:
Timestamp:
2014-01-20T19:33:18+01:00 (11 years ago)
Author:
zverik
Message:

do not save offsets for gps-tile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetTools.java

    r29430 r30218  
    3232        List<ImageryLayer> layers = Main.map.mapView.getLayersOfType(ImageryLayer.class);
    3333        for( ImageryLayer layer : layers ) {
    34             if( layer.isVisible() ) {
     34            String url = layer.getInfo().getUrl();
     35            if( layer.isVisible() && url != null && !url.contains("gps-") ) {
    3536                return layer;
    3637            }
Note: See TracChangeset for help on using the changeset viewer.