map
This commit is contained in:
28
src/views/pms/voltage-sags/overview.vue
Normal file
28
src/views/pms/voltage-sags/overview.vue
Normal 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<ype=11'
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
Reference in New Issue
Block a user