Add petition map to medical cannabis petition page

Add anonymous SVG icon for anonymous signers

Add Norway fylker GeoJSON for map boundaries

Add CSS styles for petition map

Add JavaScript for interactive petition map

Add .htaccess to block direct access to data files

Add petition-map plugin to process and display map data

Add documentation for the petition-map plugin

Add mock petition data generator tool
This commit is contained in:
Ruben 2026-02-25 23:11:35 +01:00
parent 1ee0e0f0a0
commit a7829982d0
10 changed files with 1134 additions and 1 deletions

View file

@ -4,4 +4,6 @@
<p class="text-small text-muted">Har du allerede signert, men ikke mottatt bekreftelsesmail? <a href="send-bekreftelse-pa-nytt/">Send bekreftelse nytt</a></p>
<?= $petition_map ?? '' ?>
<?= $petition_signatures ?? '' ?>

View file

@ -1,5 +1,5 @@
date = "2026-01-15"
plugins = "petition-form"
plugins = "petition-form, petition-map"
thank_you_page = "takk"
hide_list = true
newsletter_list_uuids = "dfcf73f4-c86a-43a1-9ddb-31309f7392a9,c4849164-d5e7-4aca-9721-423282773fa1"