Changeset 11788 in josm


Ignore:
Timestamp:
2017-03-29T18:10:29+02:00 (7 months ago)
Author:
bastiK
Message:

make it possible to switch between 2 supported projections for a given WMTS layer (see #7427)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r11773 r11788  
    610610            for (Layer layer: this.layers) {
    611611                if ((searchLayer == null || (// if it's null, then accept all layers
    612                         searchLayer.getLayerName().equals(layer.name) &&
    613                         searchLayer.getTileMatrixSet().equals(layer.tileMatrixSet.identifier)))
     612                        searchLayer.getLayerName().equals(layer.name)))
    614613                        && (projectionCode == null || // if it's null, then accept any projection
    615614                        projectionCode.equals(layer.tileMatrixSet.crs))) {
Note: See TracChangeset for help on using the changeset viewer.