diff --git a/station_map_www.js b/station_map_www.js index 6437321..7d50bac 100644 --- a/station_map_www.js +++ b/station_map_www.js @@ -72,9 +72,9 @@ function init(showGoogle, showStations, showQuakes, noFrils) { var osmde_map_layer = new OpenLayers.Layer.OSM( 'OpenStreetMap (DE)', [ - "http://a.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png", - "http://b.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png", - "http://c.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png" + "https://a.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png", + "https://b.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png", + "https://c.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png" ], { attribution: 'Geobasisdaten: Copyright © 2013 OpenStreetMap und Mitwirkende;' + @@ -113,6 +113,18 @@ function init(showGoogle, showStations, showQuakes, noFrils) { ]); }; + // ESRI + var esri_map_layer = new OpenLayers.Layer.XYZ( + 'ESRI', + "https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/${z}/${y}/${x}", + { + sphericalMercator: true, + attribution: 'Copyright © 2013 by ESRI. ' + + 'This work is licensed under the Web Services and API Terms of Use.' + } + ); + map.addLayers([esri_map_layer]); + // Show quakes quakes_layer = loadKML(OpenLayers.i18n("Events"), 'quakes.kml', false, true); map.addLayer(quakes_layer);