Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,6 @@ def create_permaculture_map(coordinates, output_dir="output"):
|
|
14 |
# Create the map centered on the provided coordinates
|
15 |
map = folium.Map(location=coordinates, zoom_start=18, control_scale=True)
|
16 |
|
17 |
-
# Add a scale bar to the map
|
18 |
-
map.add_child(folium.plugins.ScaleControl(position="bottomleft"))
|
19 |
-
|
20 |
# Add a north arrow (custom HTML)
|
21 |
north_arrow_html = """
|
22 |
<div style="position: fixed; top: 10px; right: 10px; z-index: 1000; font-size: 24px; font-weight: bold; color: black;">↑ N</div>
|
|
|
14 |
# Create the map centered on the provided coordinates
|
15 |
map = folium.Map(location=coordinates, zoom_start=18, control_scale=True)
|
16 |
|
|
|
|
|
|
|
17 |
# Add a north arrow (custom HTML)
|
18 |
north_arrow_html = """
|
19 |
<div style="position: fixed; top: 10px; right: 10px; z-index: 1000; font-size: 24px; font-weight: bold; color: black;">↑ N</div>
|