{ "cells": [ { "cell_type": "markdown", "id": "0", "metadata": {}, "source": [ "\"Open\n", "\n", "Uncomment the following line to install [geemap](https://geemap.org) if needed." ] }, { "cell_type": "code", "execution_count": null, "id": "1", "metadata": {}, "outputs": [], "source": [ "# !pip install geemap" ] }, { "cell_type": "code", "execution_count": null, "id": "2", "metadata": {}, "outputs": [], "source": [ "import geemap\n", "from ipyleaflet import VideoOverlay" ] }, { "cell_type": "code", "execution_count": null, "id": "3", "metadata": {}, "outputs": [], "source": [ "Map = geemap.Map(center=[25, -130], zoom=4)\n", "Map" ] }, { "cell_type": "code", "execution_count": null, "id": "4", "metadata": {}, "outputs": [], "source": [ "bounds = [(13, -130), (32, -100)]\n", "io = VideoOverlay(\n", " url=\"https://www.mapbox.com/bites/00188/patricia_nasa.webm\",\n", " bounds=bounds,\n", " name=\"Video\",\n", ")\n", "Map.add_layer(io)\n", "io.interact(opacity=(0.0, 1.0, 0.01))" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" } }, "nbformat": 4, "nbformat_minor": 5 }