Spaces:
Running
Running
Add maplibre
Browse files- notebooks/gps_track.ipynb +33 -0
- requirements.txt +1 -1
notebooks/gps_track.ipynb
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {},
|
7 |
+
"outputs": [],
|
8 |
+
"source": [
|
9 |
+
"import leafmap.maplibregl as leafmap"
|
10 |
+
]
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {},
|
16 |
+
"outputs": [],
|
17 |
+
"source": [
|
18 |
+
"m = leafmap.Map(style=\"liberty\", height=\"610px\")\n",
|
19 |
+
"m.add_basemap(\"Satellite\")\n",
|
20 |
+
"m.add_basemap(\"OpenStreetMap.Mapnik\", visible=False)\n",
|
21 |
+
"m.add_overture_buildings(visible=False)\n",
|
22 |
+
"m"
|
23 |
+
]
|
24 |
+
}
|
25 |
+
],
|
26 |
+
"metadata": {
|
27 |
+
"language_info": {
|
28 |
+
"name": "python"
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"nbformat": 4,
|
32 |
+
"nbformat_minor": 2
|
33 |
+
}
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
voila
|
2 |
geemap
|
3 |
-
leafmap
|
4 |
|
|
|
1 |
voila
|
2 |
geemap
|
3 |
+
leafmap["maplibre"]
|
4 |
|