Suchinthana commited on
Commit
21c58a1
·
1 Parent(s): b55e5ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -206,8 +206,8 @@ def generate_static_map(geojson_data, invisible=False):
206
  feature["geometry"]["coordinates"] = sort_coordinates_for_simple_polygon(geojson_data)
207
  coords = feature["geometry"]["coordinates"]
208
  for polygon in coords:
209
- print(polygon)
210
- print([(c[0], c[1]) for c in polygon])
211
  m.add_polygon(Polygon([(c[0], c[1]) for c in polygon], '#1C00ff00' if invisible else '#42445A85', 3))
212
 
213
  return m.render()
 
206
  feature["geometry"]["coordinates"] = sort_coordinates_for_simple_polygon(geojson_data)
207
  coords = feature["geometry"]["coordinates"]
208
  for polygon in coords:
209
+ logger.info(f"polygon: {polygon}")
210
+ logger.info([(c[0], c[1]) for c in polygon])
211
  m.add_polygon(Polygon([(c[0], c[1]) for c in polygon], '#1C00ff00' if invisible else '#42445A85', 3))
212
 
213
  return m.render()