summaryrefslogtreecommitdiff
path: root/ab_openstreetmap/static/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'ab_openstreetmap/static/src/xml')
-rw-r--r--ab_openstreetmap/static/src/xml/googlemap_template.xml7
-rw-r--r--ab_openstreetmap/static/src/xml/openstreetmap_template.xml8
2 files changed, 7 insertions, 8 deletions
diff --git a/ab_openstreetmap/static/src/xml/googlemap_template.xml b/ab_openstreetmap/static/src/xml/googlemap_template.xml
new file mode 100644
index 00000000..53aef261
--- /dev/null
+++ b/ab_openstreetmap/static/src/xml/googlemap_template.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates id="template" xml:space="preserve">
+ <t t-name="googlemap_template">
+ <!-- <div id="mapid" style="height: 400px; width: 100%;"></div> -->
+ <div t-attf-id="mapid" style="height: 400px; width: 100%;" ></div>
+ </t>
+</templates>
diff --git a/ab_openstreetmap/static/src/xml/openstreetmap_template.xml b/ab_openstreetmap/static/src/xml/openstreetmap_template.xml
deleted file mode 100644
index 82672748..00000000
--- a/ab_openstreetmap/static/src/xml/openstreetmap_template.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<templates id="template" xml:space="preserve">
- <t t-name="openstreetmap_template">
- <div style="width:100%">
- <div id="mapid" style="height: 500px;"/>
- </div>
- </t>
-</templates> \ No newline at end of file