Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CircularGreenSimCity
CircularGreenSimCity
Commits
7e835af6
Commit
7e835af6
authored
Feb 17, 2025
by
Eric Duminil
Browse files
Add fake tree marker
parent
00c1204a
Changes
1
Hide whitespace changes
Inline
Side-by-side
python_scripts/add_trees_to_open_street_map/add_trees.py
View file @
7e835af6
...
...
@@ -321,6 +321,7 @@ def export_map(bounds: Bounds, forest: Forest, ways: list, epsg_id: int) -> None
control
=
True
).
add_to
(
interactive_map
)
folium
.
ClickForMarker
(
"New tree here!<br/>at <b>Lat:</b> ${lat}<br /><b>Lon:</b> ${lng}"
).
add_to
(
interactive_map
)
interactive_map
.
save
(
OUTPUT_DIR
/
f
"
{
get_basename
(
bounds
)
}
_trees.html"
)
print
(
" DONE!"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment