Changeset 11798 in josm for trunk/src/org


Ignore:
Timestamp:
2017-03-31T22:22:08+02:00 (8 years ago)
Author:
bastiK
Message:

WMTS: add mimetype produced by ESRI

File:
1 edited

Legend:

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

    r11792 r11798  
    408408        Layer layer = new Layer();
    409409        Stack<QName> tagStack = new Stack<>();
    410         List<String> supportedMimeTypes = Arrays.asList(ImageIO.getReaderMIMETypes());
     410        List<String> supportedMimeTypes = new ArrayList<>(Arrays.asList(ImageIO.getReaderMIMETypes()));
     411        supportedMimeTypes.add("image/jpgpng");         // used by ESRI
    411412        Collection<String> unsupportedFormats = new ArrayList<>();
    412413
Note: See TracChangeset for help on using the changeset viewer.