aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/maps/pins_js.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/maps/pins_js.html')
-rw-r--r--templates/web/base/maps/pins_js.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/web/base/maps/pins_js.html b/templates/web/base/maps/pins_js.html
new file mode 100644
index 000000000..d9c6b3531
--- /dev/null
+++ b/templates/web/base/maps/pins_js.html
@@ -0,0 +1,4 @@
+[ [% FOR pin IN map.pins -%]
+ [ [% pin.latitude %], [% pin.longitude %], '[% pin.colour %]', '[% pin.id %]', "[% pin.title | escape_js %]", '[% pin.type %]' ]
+ [%- IF !loop.last %],[% END %]
+[% END %] ]