//Add your own map providers here. See help for details mapProvider = []; mapProvider[0] = new L.TileLayer('http://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', { maxZoom: 18, attribution: '© Openstreetmap France | © OpenStreetMap' }); mapProvider[1] = new L.TileLayer('http://{s}.tile.thunderforest.com/transport-dark/{z}/{x}/{y}.png', { maxZoom: 18, attribution: '© OpenCycleMap, © OpenStreetMap' }); mapProvider[2] = new L.TileLayer('http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png', { maxZoom: 18, attribution: '© OpenCycleMap, © OpenStreetMap' }); mapProvider[3] = new L.TileLayer('http://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png', { minZoom: 0, maxZoom: 18, attribution: 'Tiles courtesy of OpenStreetMap Sweden — Map data © OpenStreetMap' }); mapProvider[4] = new L.tileLayer('http://korona.geog.uni-heidelberg.de/tiles/roads/x={x}&y={y}&z={z}', { maxZoom: 20, attribution: 'Imagery from GIScience Research Group @ University of Heidelberg — Map data © OpenStreetMap' }); mapProvider[5] = new L.tileLayer('http://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '© Openstreetmap France | © OpenStreetMap'}); mapProvider[6] = new L.TileLayer('http://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}', { attribution: 'Tiles © Esri — Source: Esri', maxZoom: 13 }); mapProvider[7] = new L.TileLayer('http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/tile/{z}/{y}/{x}', { attribution: 'Tiles © Esri — National Geographic, Esri, DeLorme, NAVTEQ + Others', maxZoom: 16 }); mapProvider[8] = new L.TileLayer('http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png', { maxZoom: 16, attribution: 'Map data: © OpenStreetMap, SRTM | Map style: © OpenTopoMap (CC-BY-SA)' }); mapProvider[9] = new L.tileLayer('http://{s}.tile.openstreetmap.se/hydda/roads_and_labels/{z}/{x}/{y}.png', { attribution: 'Tiles courtesy of OpenStreetMap Sweden — Map data © OpenStreetMap', minZoom: 6, maxZoom: 18, opacity: 0.9 }); mapProvider[10] = new L.TileLayer('http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', { noWrap: true, attribution: '©Esri' }); mapProvider[11] = new L.TileLayer('http://{s}.tile.openstreetmap.se/hydda/roads_and_labels/{z}/{x}/{y}.png', { attribution: '©OpenStreetMap Sweden', opacity: 0.5 }); mapProvider[12] = new L.TileLayer('http://server.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer/tile/{z}/{y}/{x}', { attribution: 'Tiles © Esri — Source: US National Park Service', maxZoom: 8 });