SpatialWebAgent commited on
Commit
121e409
·
verified ·
1 Parent(s): fd497a9

Update pages/2_Tagger.py

Browse files
Files changed (1) hide show
  1. 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]],