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.leafmap_basemaps.keys())[17:117]
# layers
layers = list(leafmap.leafmap_basemaps.keys())[17:117]
# layers
Print out the labels
In [4]:
Copied!
print(layers[:10])
print(layers[:10])
['USGS 3DEP Elevation', 'BasemapAT.basemap', 'BasemapAT.grau', 'BasemapAT.highdpi', 'BasemapAT.orthofoto', 'BasemapAT.overlay', 'BasemapAT.surface', 'BasemapAT.terrain', 'CartoDB.DarkMatter', 'CartoDB.DarkMatterNoLabels']
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-03-14