- add leaflet.css inside main-styles.css - add map.componetn for leaflet map - bind properties to map via map-view.component
19 lines
358 B
Vue
19 lines
358 B
Vue
<template>
|
|
<div v-bind:id="mapId" class="map-container mapDesktop"></div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import MapComponent from "./map.component";
|
|
export default MapComponent;
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.mapDesktop {
|
|
overflow: hidden;
|
|
position: absolute;
|
|
bottom: 30px;
|
|
top: 30px;
|
|
left: 30px;
|
|
right: 30px;
|
|
}
|
|
</style>
|