about summary refs log tree commit diff
path: root/components/CampMap.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-27 17:42:53 +0100
committerGitHub <noreply@github.com>2020-01-27 17:42:53 +0100
commit3c2ac6715dfffc2eda38e014ed0b4986ccc7f75a (patch)
tree6fe224aac15e46ed4f527b12b86fdac7ab376b29 /components/CampMap.vue
parent5305c18b05803bf0d032027e645c71ac59627621 (diff)
parent6582d35072ee2bb81e0600311292aca63a1fd0eb (diff)
downloadpuszcza-3c2ac6715dfffc2eda38e014ed0b4986ccc7f75a.tar.gz
puszcza-3c2ac6715dfffc2eda38e014ed0b4986ccc7f75a.zip
Merge pull request #24 from 19pdh/oboz
Oboz
Diffstat (limited to 'components/CampMap.vue')
-rw-r--r--components/CampMap.vue36
1 files changed, 36 insertions, 0 deletions
diff --git a/components/CampMap.vue b/components/CampMap.vue
new file mode 100644
index 0000000..eae1fc0
--- /dev/null
+++ b/components/CampMap.vue
@@ -0,0 +1,36 @@
+<template>
+  <div class="mapouter">
+    <div class="gmap_canvas">
+      <iframe
+        id="gmap_canvas"
+        :src="src"
+        frameborder="0"
+        scrolling="no"
+        marginheight="0"
+        marginwidth="0"
+      />
+    </div>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'CampMap',
+  props: {
+    src: {
+      type: String,
+      required: true,
+    },
+  },
+}
+</script>
+
+<style>
+.mapouter,
+.gmap_canvas,
+#gmap_canvas {
+  width: 100%;
+  height: 50vh;
+  max-height: 300px;
+}
+</style>