X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fgui%2Fmap%2FMapSourceLibrary.java;h=5f44d5e64d4b757b012667cd2781c912cef325f9;hb=92dad5df664287acb51728e9ea599f150765d34a;hp=b82fd4e7a23e197a80120eb6d2b2e0c7a854f409;hpb=88f2c3647ed9e055090484f01a959d4581f85e7d;p=GpsPrune.git diff --git a/tim/prune/gui/map/MapSourceLibrary.java b/tim/prune/gui/map/MapSourceLibrary.java index b82fd4e..5f44d5e 100644 --- a/tim/prune/gui/map/MapSourceLibrary.java +++ b/tim/prune/gui/map/MapSourceLibrary.java @@ -38,14 +38,20 @@ public abstract class MapSourceLibrary */ private static void addFixedSources() { + final String THUNDERFOREST_APIKEY = "c32212f10b13496786b98dc6c42e5c3c"; _sourceList.add(new OsmMapSource("Mapnik", "http://[abc].tile.openstreetmap.org/")); - _sourceList.add(new OsmMapSource("Cyclemap", "http://[abc].tile.opencyclemap.org/cycle/")); + OsmMapSource cycleSource = new OsmMapSource("OpenCycleMap", "http://[abc].tile.thunderforest.com/cycle/"); + cycleSource.setApiKey(THUNDERFOREST_APIKEY); + _sourceList.add(cycleSource); + OsmMapSource outdoorsSource = new OsmMapSource("Outdoors", "http://[abc].tile.thunderforest.com/outdoors/"); + outdoorsSource.setApiKey(THUNDERFOREST_APIKEY); + _sourceList.add(outdoorsSource); _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)); }