Changeset 5691 in osm for applications/editors/josm
- Timestamp:
- 2007-11-22T16:53:48+01:00 (17 years ago)
- Location:
- applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapPlugin.java
r5675 r5691 3 3 import org.openstreetmap.josm.Main; 4 4 import org.openstreetmap.josm.gui.MapFrame; 5 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; 5 6 import org.openstreetmap.josm.plugins.Plugin; 6 7 … … 24 25 Main.main.addLayer(smlayer); 25 26 } 27 28 /* 29 * (non-Javadoc) 30 * 31 * @see org.openstreetmap.josm.plugins.Plugin#getPreferenceSetting() 32 */ 33 @Override 34 public PreferenceSetting getPreferenceSetting() 35 { 36 return new SlippyMapPreferenceSetting(); 37 } 38 26 39 } -
applications/editors/josm/plugins/slippymap/src/org/openstreetmap/josm/plugins/slippymap/SlippyMapPreferences.java
r5690 r5691 14 14 15 15 public static String PREFERENCE_TILE_URL = PREFERENCE_PREFIX + ".tile_url"; 16 16 17 17 public static String getMapUrl() 18 18 { … … 22 22 { 23 23 url = "http://tah.openstreetmap.org/Tiles/tile"; // t@h 24 // url = "http://tile.openstreetmap.org"; // mapnik25 // url = "http://hypercube.telascience.org/tiles/1.0.0/coastline" //26 24 Main.pref.put(PREFERENCE_TILE_URL, url); 27 25 } … … 29 27 return url; 30 28 } 29 30 public static String[] getAllMapUrls() 31 { 32 String[] defaultTileSources = new String[] 33 { 34 "http://tah.openstreetmap.org/Tiles/tile", // t@h 35 "http://tah.openstreetmap.org/Tiles/maplint", // maplint 36 "http://tile.openstreetmap.org", // mapnik 37 "http://hypercube.telascience.org/tiles/1.0.0/coastline" // coastline 38 }; 39 return defaultTileSources; 40 } 31 41 }
Note:
See TracChangeset
for help on using the changeset viewer.