Suchinthana commited on
Commit
f68693b
·
1 Parent(s): 3538a36

add invisible render

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -136,6 +136,7 @@ def generate_static_map(geojson_data, bounds=None):
136
  #log marker
137
  logging.info(f"Adding invisible marker to {center_lat, center_lng}")
138
  m.add_marker(CircleMarker((center_lat, center_lng), '#FFFFFF', 0)) # White marker with size 0
 
139
 
140
  # Process each feature in the GeoJSON
141
  for feature in geojson_data["features"]:
 
136
  #log marker
137
  logging.info(f"Adding invisible marker to {center_lat, center_lng}")
138
  m.add_marker(CircleMarker((center_lat, center_lng), '#FFFFFF', 0)) # White marker with size 0
139
+ return m.render()
140
 
141
  # Process each feature in the GeoJSON
142
  for feature in geojson_data["features"]: