]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/gui/map/MapSourceLibrary.java
Version 19.2, December 2018
[GpsPrune.git] / tim / prune / gui / map / MapSourceLibrary.java
index 425df6a6cd72b1c1cebe5d417c4469339939a08e..331d8fe94007b27045cc53b15920cd3270be8df3 100644 (file)
@@ -38,17 +38,16 @@ public abstract class MapSourceLibrary
         */
        private static void addFixedSources()
        {
-               _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://wanderreitkarte.de/hills/",
-                       "http://topo2.wanderreitkarte.de/topo/", 18));
+               _sourceList.add(new OsmMapSource("Mapnik", "https://[abc].tile.openstreetmap.org/"));
+               _sourceList.add(new OsmMapSource("Cycling Trails", "https://[abc].tile.openstreetmap.org/", "png",
+                       "https://tile.waymarkedtrails.org/cycling/", "png", 18));
+               _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("Openseamap", "http://tile.openstreetmap.org/",
+               _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 +64,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);
                                }