Visualizing time series images interactively with a time slider
Uncomment the following line to install leafmap if needed.
# %pip install -U leafmap
from leafmap import leafmap
Download sample data here.
url = "https://opengeos.org/data/landsat/timeseries.zip"
leafmap.download_file(url)
Visualize time series images interactively with a time slider. You can pass a list of file paths or a string representing a directory to the add_time_slider
function.
m = leafmap.Map()
images = "landsat"
m.add_time_slider(
images,
time_interval=0.5,
position="bottomright",
band=[1, 2, 3],
zoom_to_layer=True,
)
m