Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,23 @@ import pydeck as pdk
|
|
3 |
|
4 |
# Define a GeoJSON data source
|
5 |
geojson_data = {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"type": "FeatureCollection",
|
7 |
"features": [
|
8 |
{
|
@@ -13,6 +30,7 @@ geojson_data = {
|
|
13 |
[8.7811, -0.7193], # Port-Gentil latitude and longitude
|
14 |
[15.8277, -0.2280] # Republic of Congo latitude and longitude
|
15 |
]
|
|
|
16 |
}
|
17 |
]
|
18 |
}
|
|
|
3 |
|
4 |
# Define a GeoJSON data source
|
5 |
geojson_data = {
|
6 |
+
"type": "FeatureCollection",
|
7 |
+
"features": [
|
8 |
+
{
|
9 |
+
"type": "Feature",
|
10 |
+
"geometry": {
|
11 |
+
"type": "Point",
|
12 |
+
"coordinates": [15.8277, -0.2280] # Republic of Congo latitude and longitude
|
13 |
+
},
|
14 |
+
"properties": {
|
15 |
+
"name": "Republic of Congo"
|
16 |
+
}
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
20 |
+
|
21 |
+
# Define the line geometry
|
22 |
+
line_geojson_data = {
|
23 |
"type": "FeatureCollection",
|
24 |
"features": [
|
25 |
{
|
|
|
30 |
[8.7811, -0.7193], # Port-Gentil latitude and longitude
|
31 |
[15.8277, -0.2280] # Republic of Congo latitude and longitude
|
32 |
]
|
33 |
+
}
|
34 |
}
|
35 |
]
|
36 |
}
|