mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-25 13:46:53 +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
|
<ol-map
|
||||||
:loadTilesWhileAnimating="true"
|
:loadTilesWhileAnimating="true"
|
||||||
:loadTilesWhileInteracting="true"
|
:loadTilesWhileInteracting="true"
|
||||||
style="height: 1117px;"
|
style=
|
||||||
|
"
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<ol-view
|
<ol-view
|
||||||
ref="view"
|
ref="view"
|
||||||
|
@ -22,11 +30,12 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref } from "vue";
|
import { ref } from "vue";
|
||||||
|
|
||||||
const center = ref([40, 40]);
|
const center = ref([100.538611, 13.764722]);
|
||||||
const projection = ref("EPSG:4326");
|
const projection = ref("EPSG:4326");
|
||||||
const zoom = ref(8);
|
const zoom = ref(19);
|
||||||
const rotation = ref(0);
|
const rotation = ref(0);
|
||||||
</script>
|
</script>
|
Loading…
Reference in a new issue