Added ESRI layer.
This commit is contained in:
parent
4c02b4c2d8
commit
539dd5240d
Notes:
subgit
2018-03-07 17:58:39 +01:00
r474 www/trunk
@ -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 <a href="http://www.openstreetmap.org/">OpenStreetMap</a> 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 <a href="http://links.esri.com/agol_tou" target="_blank">Terms of Use</a>.'
|
||||
}
|
||||
);
|
||||
map.addLayers([esri_map_layer]);
|
||||
|
||||
// Show quakes
|
||||
quakes_layer = loadKML(OpenLayers.i18n("Events"), 'quakes.kml', false, true);
|
||||
map.addLayer(quakes_layer);
|
||||
|
Loading…
Reference in New Issue
Block a user