diff --git a/Dockerfile b/Dockerfile index f0f8946..a711435 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM jupyter/base-notebook:latest RUN mamba install -c conda-forge leafmap geemap mapwidget geopandas localtileserver voila nodejs maplibre typing_extensions==4.11.0 -y && \ + pip install -U leafmap && \ fix-permissions "${CONDA_DIR}" && \ fix-permissions "/home/${NB_USER}" diff --git a/notebooks/gps_trace.ipynb b/notebooks/gps_trace.ipynb index ce8e983..f7f266d 100644 --- a/notebooks/gps_trace.ipynb +++ b/notebooks/gps_trace.ipynb @@ -15,12 +15,7 @@ "metadata": {}, "outputs": [], "source": [ - "m = leafmap.Map(style=\"liberty\", height=\"610px\")\n", - "m.add_basemap(\"Satellite\")\n", - "m.add_basemap(\"OpenStreetMap.Mapnik\", visible=False)\n", - "m.add_overture_buildings(visible=False)\n", - "m.add_layer_control()\n", - "m" + "leafmap.open_gps_trace()" ] } ],