diff --git a/data/gclh_defi.js b/data/gclh_defi.js
index 0d510cca8..b4c07fdf7 100644
--- a/data/gclh_defi.js
+++ b/data/gclh_defi.js
@@ -97,11 +97,11 @@ function layersInit(c) {
,"Google Maps" : { tileUrl: "http://mt.google.com/vt?x={x}&y={y}&z={z}", attribution: "Google Maps", tileSize: 256, minZoom: 0, maxZoom: 20 }
,"Google Maps Satellite" : { tileUrl: "http://mt.google.com/vt?lyrs=s&x={x}&y={y}&z={z}", attribution: "Google Maps", tileSize: 256, minZoom: 3, maxZoom: 20 }
,"Google Maps Hybrid" : { tileUrl: "http://mt0.google.com/vt/lyrs=s,m@110&hl=en&x={x}&y={y}&z={z}", attribution: "Google Maps", tileSize: 256, minZoom: 0, maxZoom: 20 }
+ ,"ÖPNVMap" : { tileUrl: "http://tile.memomaps.de/tilegen/{z}/{x}/{y}.png", attribution: 'Map memomaps.de CC-BY-SA, Tiles Openstreetmap ODbL, Legend' }
};
c.map_overlays = new Object();
c.map_overlays = {
"Hillshadow" : { tileUrl: "http://{s}.tiles.wmflabs.org/hillshading/{z}/{x}/{y}.png", attribution: 'hillshadow \u00a9 tiles.wmflabs.org', tileSize: 256, minZoom: 0, maxZoom: 17 }
- ,"Public Transport Lines" : { tileUrl: "http://openptmap.org/tiles/{z}/{x}/{y}.png", attribution: 'Public Transport Lines\u00a9 OpenPTMap', tileSize: 256, minZoom: 0, maxZoom: 17 }
};
}
diff --git a/gc_little_helper_II.user.js b/gc_little_helper_II.user.js
index adb14ca67..c1c5a701d 100644
--- a/gc_little_helper_II.user.js
+++ b/gc_little_helper_II.user.js
@@ -12045,6 +12045,12 @@ var mainGC = function() {
settings_secondary_elevation_service = 2
setValue("migration_task_03", true);
}
+ // Migrate new map layer ÖPNVMap to the available map layers (zu v0.10.20).
+ if (getValue("migration_task_04", false) != true) {
+ settings_map_layers.push('ÖPNVMap');
+ setValue('settings_map_layers', settings_map_layers.join("###"));
+ setValue("migration_task_04", true);
+ }
}
// GC/TB Name, GC/TB Link, GC/TB Name Link, preliminary LogDate.