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 NDVI', 'USGS Hydrography', 'USGS 3DEP Elevation', 'ESA WorldCover 2020', 'ESA WorldCover 2020 S2 FCC', 'ESA WorldCover 2020 S2 TCC', 'BasemapAT.basemap', 'BasemapAT.grau', 'BasemapAT.highdpi', 'BasemapAT.orthofoto']
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)
Last update:
2022-07-01