27 basemap gallery
Uncomment the following line to install leafmap if needed.
In [1]:
Copied!
# !pip install leafmap
# !pip install leafmap
In [2]:
Copied!
import leafmap.leafmap as leafmap
import leafmap.leafmap as leafmap
Select 100 basemaps
In [3]:
Copied!
layers = list(leafmap.basemaps.keys())[17:117]
# layers
layers = list(leafmap.basemaps.keys())[17:117]
# layers
Print out the labels
In [4]:
Copied!
print(layers[:10])
print(layers[:10])
['USGS NAIP Imagery False Color', 'USGS NAIP Imagery NDVI', 'USGS Hydrography', 'USGS 3DEP Elevation', 'ESA Worldcover 2020', 'ESA Worldcover 2020 S2 FCC', 'ESA Worldcover 2020 S2 TCC', 'ESA Worldcover 2021', 'ESA Worldcover 2021 S2 FCC', 'ESA Worldcover 2021 S2 TCC']
Create linked maps of 100 basemaps
In [5]:
Copied!
leafmap.linked_maps(rows=20, cols=5, height="200px", layers=layers, labels=layers)
leafmap.linked_maps(rows=20, cols=5, height="200px", layers=layers, labels=layers)