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

[jmapviewer] fix #josm9031 - fix max zoom of osm tile sources

File:
1 edited

Legend:

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

    r29845 r29883  
    1 /**
    2  *
    3  */
    41package org.openstreetmap.gui.jmapviewer.tilesources;
    52
     
    85import org.openstreetmap.gui.jmapviewer.Coordinate;
    96
     7/**
     8 * Abstract clas for OSM Tile sources
     9 */
    1010public abstract class AbstractOsmTileSource extends AbstractTMSTileSource {
    1111   
     
    1515    public static final String DEFAULT_OSM_ATTRIBUTION = "\u00a9 OpenStreetMap contributors";
    1616   
     17    /**
     18     * Constructs a new OSM tile source
     19     * @param name Source name as displayed in GUI
     20     * @param base_url Source URL
     21     */
    1722    public AbstractOsmTileSource(String name, String base_url) {
    1823        super(name, base_url);
     
    2025
    2126    public int getMaxZoom() {
    22         return 18;
     27        return 19;
    2328    }
    2429
Note: See TracChangeset for help on using the changeset viewer.