Changeset 29882 in osm for applications/viewer/jmapviewer
- Timestamp:
- 2013-08-30T17:04:14+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/OsmTileSource.java
r27990 r29882 1 1 package org.openstreetmap.gui.jmapviewer.tilesources; 2 2 3 /** 4 * OSM Tile source. 5 */ 3 6 public class OsmTileSource { 4 7 8 /** 9 * The default "Mapnik" OSM tile source URL 10 */ 5 11 public static final String MAP_MAPNIK = "http://tile.openstreetmap.org"; 6 12 13 /** 14 * The default "Mapnik" OSM tile source. 15 */ 7 16 public static class Mapnik extends AbstractOsmTileSource { 17 18 /** 19 * Constructs a new {@code "Mapnik"} tile source. 20 */ 8 21 public Mapnik() { 9 22 super("Mapnik", MAP_MAPNIK); … … 15 28 } 16 29 30 /** 31 * The "Cycle Map" OSM tile source. 32 */ 17 33 public static class CycleMap extends AbstractOsmTileSource { 18 34 … … 23 39 private int SERVER_NUM = 0; 24 40 41 /** 42 * Constructs a new {@code CycleMap} tile source. 43 */ 25 44 public CycleMap() { 26 45 super("OSM Cycle Map", PATTERN); … … 36 55 @Override 37 56 public int getMaxZoom() { 38 return 1 7;57 return 19; 39 58 } 40 59
Note:
See TracChangeset
for help on using the changeset viewer.