mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-21 20:36:51 +00:00
fix map
-fix map style -add center to อนุสาวรีย์ชัยสมรภูมิ
This commit is contained in:
parent
4fddd3d080
commit
8ad3ef95d8
1 changed files with 13 additions and 4 deletions
|
@ -4,8 +4,16 @@
|
|||
<ol-map
|
||||
:loadTilesWhileAnimating="true"
|
||||
:loadTilesWhileInteracting="true"
|
||||
style="height: 1117px;"
|
||||
|
||||
style=
|
||||
"
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
"
|
||||
>
|
||||
<ol-view
|
||||
ref="view"
|
||||
|
@ -22,11 +30,12 @@
|
|||
</template>
|
||||
|
||||
|
||||
|
||||
<script setup>
|
||||
import { ref } from "vue";
|
||||
|
||||
const center = ref([40, 40]);
|
||||
const center = ref([100.538611, 13.764722]);
|
||||
const projection = ref("EPSG:4326");
|
||||
const zoom = ref(8);
|
||||
const zoom = ref(19);
|
||||
const rotation = ref(0);
|
||||
</script>
|
Loading…
Reference in a new issue