Spaces:
Runtime error
Runtime error
Suchinthana commited on
Commit Β·
24b7949
1
Parent(s): d3f3276
making invisible visible
Browse files134 unmodified lines135136137138139140141142134 unmodified lines# Add a small invisible marker to prevent rendering error#log markerlogging.info(f"Adding invisible marker to {bounds[0], bounds[1]}")m.add_marker(CircleMarker(tuple(bounds[0]), '#FFFFFF', 0)) # White marker with size 0m.add_marker(CircleMarker(tuple(bounds[1]), '#FFFFFF', 0)) # White marker with size 0return m.render()# Process each feature in the GeoJSON134 unmodified lines135136137138139140141142134 unmodified lines# Add a small invisible marker to prevent rendering error#log markerlogging.info(f"Adding invisible marker to {bounds[0], bounds[1]}")m.add_marker(CircleMarker(tuple(bounds[0]), 'blue', 10)) # White marker with size 0 #FFFFFFm.add_marker(CircleMarker(tuple(bounds[1]), 'blue', 10)) # White marker with size 0return m.render()# Process each feature in the GeoJSON
app.py+2-2