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

Invisible marker log

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -133,6 +133,8 @@ def generate_static_map(geojson_data, bounds=None):
133
  # Check if there are no features to avoid an empty map
134
  if not geojson_data["features"]:
135
  # Add a small invisible marker to prevent rendering error
 
 
136
  m.add_marker(CircleMarker((center_lat, center_lng), '#FFFFFF', 0)) # White marker with size 0
137
 
138
  # Process each feature in the GeoJSON
 
133
  # Check if there are no features to avoid an empty map
134
  if not geojson_data["features"]:
135
  # Add a small invisible marker to prevent rendering error
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