Changeset 29882 in osm for applications/viewer/jmapviewer


Ignore:
Timestamp:
2013-08-30T17:04:14+02:00 (11 years ago)
Author:
donvip
Message:

[jmapviewer] see #josm9031 - bump mapnik max zoom to 19

File:
1 edited

Legend:

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

    r27990 r29882  
    11package org.openstreetmap.gui.jmapviewer.tilesources;
    22
     3/**
     4 * OSM Tile source.
     5 */
    36public class OsmTileSource {
    47
     8    /**
     9     * The default "Mapnik" OSM tile source URL
     10     */
    511    public static final String MAP_MAPNIK = "http://tile.openstreetmap.org";
    612
     13    /**
     14     * The default "Mapnik" OSM tile source.
     15     */
    716    public static class Mapnik extends AbstractOsmTileSource {
     17       
     18        /**
     19         * Constructs a new {@code "Mapnik"} tile source.
     20         */
    821        public Mapnik() {
    922            super("Mapnik", MAP_MAPNIK);
     
    1528    }
    1629
     30    /**
     31     * The "Cycle Map" OSM tile source.
     32     */
    1733    public static class CycleMap extends AbstractOsmTileSource {
    1834
     
    2339        private int SERVER_NUM = 0;
    2440
     41        /**
     42         * Constructs a new {@code CycleMap} tile source.
     43         */
    2544        public CycleMap() {
    2645            super("OSM Cycle Map", PATTERN);
     
    3655        @Override
    3756        public int getMaxZoom() {
    38             return 17;
     57            return 19;
    3958        }
    4059
Note: See TracChangeset for help on using the changeset viewer.