var layers = { "outdoors": { "title": "Outdoors", "url": "https://api.tiles.mapbox.com/v4/mapbox.outdoors/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", "attribution": "Map data © <a href='https://www.openstreetmap.org/''>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/''>CC-BY-SA</a>, Imagery © <a href='https://www.mapbox.com/''>Mapbox</a>", "minZoom": 0, "maxZoom": 18, "visible": true }, "light": { "title": "Light", "url": "https://api.tiles.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", "attribution": "Map data © <a href='https://www.openstreetmap.org/''>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/''>CC-BY-SA</a>, Imagery © <a href='https://www.mapbox.com/''>Mapbox</a>", "minZoom": 0, "maxZoom": 18, "visible": true }, "dark": { "title": "Dark", "url": "https://api.tiles.mapbox.com/v4/mapbox.dark/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", "attribution": "Map data © <a href='https://www.openstreetmap.org/''>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/''>CC-BY-SA</a>, Imagery © <a href='https://www.mapbox.com/''>Mapbox</a>", "minZoom": 0, "maxZoom": 18, "visible": true }, "streets": { "title": "Streets", "url": "https://api.tiles.mapbox.com/v4/mapbox.streets/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", "attribution": "Map data © <a href='https://www.openstreetmap.org/''>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/''>CC-BY-SA</a>, Imagery © <a href='https://www.mapbox.com/''>Mapbox</a>", "minZoom": 0, "maxZoom": 18, "visible": true }, "satellite": { "title": "Satellite", "url": "https://api.tiles.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw", "attribution": "Map data © <a href='https://www.openstreetmap.org/''>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/''>CC-BY-SA</a>, Imagery © <a href='https://www.mapbox.com/''>Mapbox</a>", "minZoom": 0, "maxZoom": 18, "visible": true }, "openTopoMap": { "title": "OpenTopoMap", "url": "https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png", "attribution": "Map data: © <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors, <a href='http://viewfinderpanoramas.org'>SRTM</a> | Map style: © <a href='https://opentopomap.org'>OpenTopoMap</a> (<a href='https://creativecommons.org/licenses/by-sa/3.0/'>CC-BY-SA</a>)", "minZoom": 1, "maxZoom": 17, "visible": true }, "esriWorldImagery": { "title": "ESRI Imagery", "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", "attribution": "Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community", "minZoom": 0, "maxZoom": 18, "visible": true }, "esriWorldStreet": { "title": "ESRI Streets", "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}", "attribution": "Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012", "minZoom": 0, "maxZoom": 18, "visible": true }, "esriTerrain": { "title": "ESRI Terrain", "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer/tile/{z}/{y}/{x}", "attribution": "Tiles © Esri — Source: USGS, Esri, TANA, DeLorme, and NPS", "minZoom": 0, "maxZoom": 13, "visible": true }, "esriShadeRelief": { "title": "ESRI Shade Refief", "url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer/tile/{z}/{y}/{x}", "attribution": "Tiles © Esri — Source: Esri", "minZoom": 0, "maxZoom": 13, "visible": true }, "stamenTerrain": { "title": "Terrain", "url": "https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}{r}.png", "attribution": "Map tiles by <a href='http://stamen.com'>Stamen Design</a>, <a href='http://creativecommons.org/licenses/by/3.0'>CC BY 3.0</a> — Map data © <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors", "minZoom": 0, "maxZoom": 18, "visible": true }, "openStreetMapFr": { "title": "OSM France", "url": "https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png", "attribution": "© Openstreetmap France | © <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors", "minZoom": 0, "maxZoom": 20, "visible": true, "default": true }, "openStreetMapDe": { "title": "OSM DE", "url": "https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png", "attribution": "© <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors", "minZoom": 0, "maxZoom": 18, "visible": true }, "hyddaFull": { "title": "Hydda Full", "url": "https://{s}.tile.openstreetmap.se/hydda/full/{z}/{x}/{y}.png", "attribution": "Tiles courtesy of <a href='http://openstreetmap.se/' target='_blank'>OpenStreetMap Sweden</a> — Map data © <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors", "minZoom": 0, "maxZoom": 18, "visible": true }, "nasagibsAtNight": { "title": "NASAGIBS At Night", "url": "https://map1.vis.earthdata.nasa.gov/wmts-webmerc/VIIRS_CityLights_2012/default//GoogleMapsCompatible_Level{maxZoom}/{z}/{y}/{x}.jpg", "attribution": "Imagery provided by services from the Global Imagery Browse Services (GIBS), operated by the NASA/GSFC/Earth Science Data and Information System (<a href='https://earthdata.nasa.gov'>ESDIS</a>) with funding provided by NASA/HQ.", "minZoom": 1, "maxZoom": 8, "visible": true } };