X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fgui%2Fmap%2FMapSourceLibrary.java;h=e324af1a029114e0e726f19bf3baabb8448f096f;hb=0a2480df5845e2d7190dfdec9b2653b1609e853d;hp=eae105515fe7960c1024badaed908fea8777a970;hpb=f1b92378a792131ac8fb33a869405851d5b2d1f7;p=GpsPrune.git diff --git a/tim/prune/gui/map/MapSourceLibrary.java b/tim/prune/gui/map/MapSourceLibrary.java index eae1055..e324af1 100644 --- a/tim/prune/gui/map/MapSourceLibrary.java +++ b/tim/prune/gui/map/MapSourceLibrary.java @@ -38,17 +38,15 @@ public abstract class MapSourceLibrary */ private static void addFixedSources() { - _sourceList.add(new OsmMapSource("Mapnik", "http://tile.openstreetmap.org/")); - _sourceList.add(new OsmMapSource("Cyclemap", "http://tile.opencyclemap.org/cycle/")); - _sourceList.add(new OsmMapSource("Reitkarte", "http://wanderreitkarte.de/hills/", - "http://topo2.wanderreitkarte.de/topo/", 18)); + _sourceList.add(new OsmMapSource("Mapnik", "http://[abc].tile.openstreetmap.org/")); + _sourceList.add(new OsmMapSource("Cyclemap", "http://[abc].tile.opencyclemap.org/cycle/")); + _sourceList.add(new OsmMapSource("Reitkarte", "http://topo[234].wanderreitkarte.de/topo/")); _sourceList.add(new MffMapSource("Mapsforfree", "http://maps-for-free.com/layer/relief/", "jpg", "http://maps-for-free.com/layer/water/", "gif", 11)); - _sourceList.add(new OsmMapSource("Hikebikemap", "http://toolserver.org/tiles/hikebike/", - "http://toolserver.org/~cmarqu/hill/", 18)); + _sourceList.add(new OsmMapSource("Hikebikemap", "http://[abc].tiles.wmflabs.org/hikebike/", + "http://[abc].tiles.wmflabs.org/hillshading/", 18)); _sourceList.add(new OsmMapSource("Openseamap", "http://tile.openstreetmap.org/", "http://tiles.openseamap.org/seamark/", 18)); - _sourceList.add(new CloudmadeMapSource("Pale Dawn", "998", 18)); } /** @@ -65,7 +63,6 @@ public abstract class MapSourceLibrary { String sourceString = configString.substring(0, splitPos); MapSource source = OsmMapSource.fromConfig(sourceString); - if (source == null) {source = CloudmadeMapSource.fromConfig(sourceString);} if (source != null) { _sourceList.add(source); }