Skip to content

Commit

Permalink
show copy&pastable header when parsing QGIS project
Browse files Browse the repository at this point in the history
  • Loading branch information
breunigs committed Jul 31, 2024
1 parent e6cdf74 commit 86f4350
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/generate_map_images_from_qgis_project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ def calculate_map_image(layer)
thr.join && thr[:output]
end

puts <<~ELIXIR
<.h4_planning ref={@ref} checked={@show_map_image}/>
ELIXIR

if code.size == 1
puts <<~ELIXIR
def map_image do
Expand Down

0 comments on commit 86f4350

Please sign in to comment.