diff --git a/index.html b/index.html index 6864d403..016f09ce 100644 --- a/index.html +++ b/index.html @@ -62,7 +62,10 @@ 'Esri WorldGrayCanvas': L.tileLayer.provider('Esri.WorldGrayCanvas'), 'Geoportail France Maps': L.tileLayer.provider('GeoportailFrance'), 'Geoportail France Orthos': L.tileLayer.provider('GeoportailFrance.orthos'), - 'Geoportail France classic maps': L.tileLayer.provider('GeoportailFrance.ignMaps') + 'Geoportail France classic maps': L.tileLayer.provider('GeoportailFrance.ignMaps'), + 'USGS USTopo': L.tileLayer.provider('USGS.USTopo'), + 'USGS USImagery': L.tileLayer.provider('USGS.USImagery'), + 'USGS USImageryTopo': L.tileLayer.provider('USGS.USImageryTopo'), }; var overlayLayers = { diff --git a/leaflet-providers.js b/leaflet-providers.js index 6d834983..098777e0 100644 --- a/leaflet-providers.js +++ b/leaflet-providers.js @@ -1000,6 +1000,22 @@ Grey: 'Grey', LandLot: 'LandLot' } + }, + USGS: { + url: 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/{z}/{y}/{x}', + options: { + maxZoom: 20, + attribution: 'Tiles courtesy of the U.S. Geological Survey' + }, + variants: { + USTopo: {}, + USImagery: { + url: 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}' + }, + USImageryTopo: { + url: 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryTopo/MapServer/tile/{z}/{y}/{x}' + } + } } };