Ignore:
Timestamp:
2017-05-16T21:10:37+02:00 (8 years ago)
Author:
bastik
Message:

see #josm14796 - make use of private API_KEY field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/OsmTileSource.java

    r33313 r33314  
    7171     * The "Transport Map" OSM tile source.
    7272     *
    73      * Template for thunderforest.com
     73     * Template for thunderforest.com.
     74     * Requires registration of an API key (see {@link #API_KEY}).
    7475     */
    7576    public static class TransportMap extends AbstractOsmTileSource {
     
    104105        @Override
    105106        public String getTileUrl(int zoom, int tilex, int tiley) throws IOException {
    106             return this.getBaseUrl() + getTilePath(zoom, tilex, tiley); // + "?apikey=" + API_KEY;
     107            return this.getBaseUrl() + getTilePath(zoom, tilex, tiley) + "?apikey=" + API_KEY;
    107108        }
    108109
Note: See TracChangeset for help on using the changeset viewer.