Ignore:
Timestamp:
2014-07-15T08:49:50+02:00 (10 years ago)
Author:
zverik
Message:

mapbox imagery id

File:
1 edited

Legend:

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

    r29384 r30534  
    2222        if( ImageryType.SCANEX.equals(type) && url.toLowerCase().equals("irs") )
    2323            return "scanex_irs";
     24
     25        if( ImageryType.TMS.equals(type) && url.toLowerCase().matches(".+tiles\\.mapbox\\.com/v[3-9]/openstreetmap\\.map.*") )
     26            return "mapbox";
    2427
    2528        boolean isWMS = ImageryType.WMS.equals(type);
Note: See TracChangeset for help on using the changeset viewer.