- Adding map page (where is the location) #100

- fix menu appear Admin and Manager
This commit is contained in:
Paolo Arena
2019-11-17 01:07:23 +01:00
parent c2f9fb6937
commit ca7ee49944
22 changed files with 121 additions and 1816 deletions

View File

@@ -0,0 +1,4 @@
#map {
height: 400px;
width: 90%;
}

View File

@@ -0,0 +1,28 @@
import Vue from 'vue'
import { Component, Prop, Watch } from 'vue-property-decorator'
import { toolsext } from '@src/store/Modules/toolsext'
@Component({
name: 'CGoogleMap'
})
export default class CGoogleMap extends Vue {
@Prop({ required: true, default: 'one' }) public tab
public map = null
public initMap() {
// this.map = new window.google.maps.Map(document.getElementById('map'), {
// center: { lat: -34.397, lng: 150.644 },
// zoom: 8
// })
}
public async mounted() {
// await this.$google()
// this.initMap()
}
}

View File

@@ -0,0 +1,12 @@
<template>
<q-page class="flex flex-center">
<div id="map"></div>
</q-page>
</template>
<script lang="ts" src="./CGoogleMap.ts">
</script>
<style lang="scss" scoped>
@import './CGoogleMap.scss';
</style>

View File

@@ -0,0 +1 @@
export {default as CGoogleMap} from './CGoogleMap.vue'