diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-28 19:55:17 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-28 19:55:17 +0100 |
commit | 474d2bd31fdb0d13e07793c31d82e4eb264731cf (patch) | |
tree | 86cbfd30da21cc7abecc611c6ecdc6140a542a28 /components/CampMap.vue | |
parent | c6b9b1e2846e769dbeb7cbb567a4e9ec08f3dd9c (diff) | |
parent | a441d3e5284bf1883a55810e7387b43ff4836de3 (diff) | |
download | puszcza-474d2bd31fdb0d13e07793c31d82e4eb264731cf.tar.gz puszcza-474d2bd31fdb0d13e07793c31d82e4eb264731cf.zip |
Merge remote-tracking branch 'origin/master' into feature/json-api
Diffstat (limited to 'components/CampMap.vue')
-rw-r--r-- | components/CampMap.vue | 36 |
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> |