Use OpenStreetMap vector tiles
The openstreetmap.json is adapted from the colorful.json created by Paul Norman. For more information about the OpenStreetMap vector tiles, see this thread.
Uncomment the following line to install leafmap if needed.
In [1]:
Copied!
# %pip install "leafmap[maplibre]"
# %pip install "leafmap[maplibre]"
In [2]:
Copied!
import leafmap.maplibregl as leafmap
import leafmap.maplibregl as leafmap
In [3]:
Copied!
style = "https://maps.gishub.org/styles/openstreetmap.json"
style = "https://maps.gishub.org/styles/openstreetmap.json"
In [4]:
Copied!
m = leafmap.Map(style=style)
m
m = leafmap.Map(style=style)
m