Spaces:
Runtime error
Runtime error
Suchinthana
commited on
Commit
Β·
05ca4e4
1
Parent(s):
83d658b
Update app.py
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ def generate_static_map(geojson_data, invisible=False):
|
|
| 123 |
coords = feature["geometry"]["coordinates"]
|
| 124 |
|
| 125 |
if geom_type == "Point":
|
| 126 |
-
m.add_marker(CircleMarker((coords[0], coords[1]), '#1C00ff00' if invisible == True else 'blue', 100)
|
| 127 |
elif geom_type in ["MultiPoint", "LineString"]:
|
| 128 |
for coord in coords:
|
| 129 |
m.add_marker(CircleMarker((coord[0], coord[1]), '#1C00ff00' if invisible == True else 'blue', 100))
|
|
|
|
| 123 |
coords = feature["geometry"]["coordinates"]
|
| 124 |
|
| 125 |
if geom_type == "Point":
|
| 126 |
+
m.add_marker(CircleMarker((coords[0], coords[1]), '#1C00ff00' if invisible == True else 'blue', 100))
|
| 127 |
elif geom_type in ["MultiPoint", "LineString"]:
|
| 128 |
for coord in coords:
|
| 129 |
m.add_marker(CircleMarker((coord[0], coord[1]), '#1C00ff00' if invisible == True else 'blue', 100))
|