Mercurial > gemma
view client/src/views/Main.vue @ 519:6a29ad5a36cf
refac: Map component converted to vue component.
Map is now a vue-component with parametrized lat, long, zoom
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 27 Aug 2018 16:39:58 +0200 |
parents | 9c1dfadb53aa |
children | 9c036b32c852 |
line wrap: on
line source
<template> <div class="main d-flex"> <Sidebar v-bind:isOverlay="true"></Sidebar> <Map :lat="6155376" :long="1819178" :zoom="11" ></Map> </div> </template> <style lang="scss"> .main { height: 100vh; } #map { background-color: #ffffff; width: 100%; } </style> <script> import Map from "../components/Map"; import Sidebar from "../components/Sidebar"; export default { name: "mainview", components: { Map, Sidebar } }; </script>