This commit is contained in:
仲么了
2024-02-19 15:28:43 +08:00
parent 0e2a24cc1f
commit aea8f7c8ca
6 changed files with 153 additions and 4 deletions

View File

@@ -0,0 +1,28 @@
<template>
<div style="height: 500px;">
<el-amap
view-mode="3D"
:pitch="50"
:center="center"
:zoom="zoom"
>
<el-amap-layer-tile :tile-url="url"/>
</el-amap>
</div>
</template>
<script setup>
import {ElAmap, ElAmapLayerTile} from '@vuemap/vue-amap'
import {ref} from "vue";
const center = ref([120, 31]);
const zoom = ref(14)
const url = 'https://wprd0{1,2,3,4}.is.autonavi.com/appmaptile?x=[x]&y=[y]&z=[z]&size=1&scl=1&style=8&ltype=11'
</script>
<style scoped>
</style>