In [1]:
Copied!
# %pip install "leafmap[maplibre]"
# %pip install "leafmap[maplibre]"
Import library
In [2]:
Copied!
import leafmap.maplibregl as leafmap
import leafmap.maplibregl as leafmap
Add historical imagery layers.
In [3]:
Copied!
m = leafmap.Map(center=[-115.318121, 36.317589], zoom=15, sidebar_visible=True)
m.add_wayback_layer(date="2014-02-20")
m.add_wayback_layer(date="2025-09-25")
m
m = leafmap.Map(center=[-115.318121, 36.317589], zoom=15, sidebar_visible=True)
m.add_wayback_layer(date="2014-02-20")
m.add_wayback_layer(date="2025-09-25")
m
Add a time slider to navigate the historical imagery.
In [4]:
Copied!
m = leafmap.Map(
center=[-115.318121, 36.317589],
zoom=15,
sidebar_visible=True,
layer_manager_expanded=False,
)
m.add_wayback_time_slider(default_index=-1)
m
m = leafmap.Map(
center=[-115.318121, 36.317589],
zoom=15,
sidebar_visible=True,
layer_manager_expanded=False,
)
m.add_wayback_time_slider(default_index=-1)
m
In [5]:
Copied!
import leafmap.leafmap as leafmap
import leafmap.leafmap as leafmap
Select a date to visualize the historical imagery.
In [6]:
Copied!
m = leafmap.Map(
center=[36.317589, -115.318121],
zoom=15,
draw_control=False,
toolbar_control=False,
zoom_control=False,
fullscreen_control=False,
)
m.add_wayback_layers()
m
m = leafmap.Map(
center=[36.317589, -115.318121],
zoom=15,
draw_control=False,
toolbar_control=False,
zoom_control=False,
fullscreen_control=False,
)
m.add_wayback_layers()
m