Spaces:
Running
Running
Update notebook example
Browse files- notebooks/leafmap.ipynb +5 -1
notebooks/leafmap.ipynb
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
-
"execution_count":
|
6 |
"metadata": {},
|
7 |
"outputs": [],
|
8 |
"source": [
|
@@ -19,6 +19,10 @@
|
|
19 |
" style=\"liberty\", projection=\"globe\", sidebar_visible=True, height=\"750px\"\n",
|
20 |
")\n",
|
21 |
"m.add_basemap(\"USGS.Imagery\")\n",
|
|
|
|
|
|
|
|
|
22 |
"m"
|
23 |
]
|
24 |
}
|
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
"metadata": {},
|
7 |
"outputs": [],
|
8 |
"source": [
|
|
|
19 |
" style=\"liberty\", projection=\"globe\", sidebar_visible=True, height=\"750px\"\n",
|
20 |
")\n",
|
21 |
"m.add_basemap(\"USGS.Imagery\")\n",
|
22 |
+
"cities = (\n",
|
23 |
+
" \"https://github.com/opengeos/datasets/releases/download/world/world_cities.geojson\"\n",
|
24 |
+
")\n",
|
25 |
+
"m.add_geojson(cities, name=\"Cities\")\n",
|
26 |
"m"
|
27 |
]
|
28 |
}
|