Spaces:
Running
Running
Update pages/2_Tagger.py
Browse files- pages/2_Tagger.py +1 -1
pages/2_Tagger.py
CHANGED
@@ -307,7 +307,7 @@ def set_map_menu():
|
|
307 |
def draw_location(geojson):
|
308 |
#gj = json.load(geojson)
|
309 |
st.markdown(geojson)
|
310 |
-
geojson = geojson['data'][0]
|
311 |
centroid = geojson['features'][0]['properties']['centroid']
|
312 |
centroid = (centroid[0],centroid[1])
|
313 |
my_map = folium.Map(location=[centroid[1], centroid[0]],
|
|
|
307 |
def draw_location(geojson):
|
308 |
#gj = json.load(geojson)
|
309 |
st.markdown(geojson)
|
310 |
+
# geojson = geojson['data'][0]
|
311 |
centroid = geojson['features'][0]['properties']['centroid']
|
312 |
centroid = (centroid[0],centroid[1])
|
313 |
my_map = folium.Map(location=[centroid[1], centroid[0]],
|