change folder location
This commit is contained in:
parent
2aacb390f8
commit
3547bddf17
22 changed files with 1272 additions and 1370 deletions
32
src/views/Home.vue
Normal file
32
src/views/Home.vue
Normal file
|
@ -0,0 +1,32 @@
|
|||
<template>
|
||||
<!-- TO DO need someone to make map fuctional properly -->
|
||||
<!--don't know why height auto didn't work so i write 1117px for temporary -->
|
||||
<ol-map
|
||||
:loadTilesWhileAnimating="true"
|
||||
:loadTilesWhileInteracting="true"
|
||||
style="height: 1117px;"
|
||||
|
||||
>
|
||||
<ol-view
|
||||
ref="view"
|
||||
:center="center"
|
||||
:rotation="rotation"
|
||||
:zoom="zoom"
|
||||
:projection="projection"
|
||||
/>
|
||||
|
||||
<ol-tile-layer>
|
||||
<ol-source-osm />
|
||||
</ol-tile-layer>
|
||||
</ol-map>
|
||||
</template>
|
||||
|
||||
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
|
||||
const center = ref([40, 40]);
|
||||
const projection = ref("EPSG:4326");
|
||||
const zoom = ref(8);
|
||||
const rotation = ref(0);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue