Suchinthana commited on
Commit
24b7949
·
1 Parent(s): d3f3276

making invisible visible

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,8 +135,8 @@ def generate_static_map(geojson_data, bounds=None):
135
  # Add a small invisible marker to prevent rendering error
136
  #log marker
137
  logging.info(f"Adding invisible marker to {bounds[0], bounds[1]}")
138
- m.add_marker(CircleMarker(tuple(bounds[0]), '#FFFFFF', 0)) # White marker with size 0
139
- m.add_marker(CircleMarker(tuple(bounds[1]), '#FFFFFF', 0)) # White marker with size 0
140
  return m.render()
141
 
142
  # Process each feature in the GeoJSON
 
135
  # Add a small invisible marker to prevent rendering error
136
  #log marker
137
  logging.info(f"Adding invisible marker to {bounds[0], bounds[1]}")
138
+ m.add_marker(CircleMarker(tuple(bounds[0]), 'blue', 10)) # White marker with size 0 #FFFFFF
139
+ m.add_marker(CircleMarker(tuple(bounds[1]), 'blue', 10)) # White marker with size 0
140
  return m.render()
141
 
142
  # Process each feature in the GeoJSON