Skip to content

Commit

Permalink
Add GPS trace example
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Nov 19, 2024
1 parent 28d2ba8 commit f84cea7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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}"

Expand Down
7 changes: 1 addition & 6 deletions notebooks/gps_trace.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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()"
]
}
],
Expand Down

0 comments on commit f84cea7

Please sign in to comment.