about summary refs log tree commit diff
path: root/components/CampMap.vue
blob: eae1fc093ebdda30b276cbcc71f1f8282f2a7681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>