aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates')
-rw-r--r--app/view/templates/map.php16
1 files changed, 13 insertions, 3 deletions
diff --git a/app/view/templates/map.php b/app/view/templates/map.php
index 236ff8e..83e6004 100644
--- a/app/view/templates/map.php
+++ b/app/view/templates/map.php
@@ -1,5 +1,15 @@
-<pre>
+<style>
+ #graph {
+ height: 100%;
+ width: 100%;
+ }
+</style>
- <?= $json ?>
+<div id="graph"></div>
-</pre> \ No newline at end of file
+<script>
+ var data = <?= $json ?>;
+ console.log(data);
+</script>
+
+<script src="<?= Wcms\Model::jspath() ?>map.bundle.js"></script> \ No newline at end of file