<template>
<view>
<map :latitude="latitude" :longitude="longitude" :markers="markers" style="width: 100%;height: 100vh" ></map>
</view>
</template>
<script>
export default {
data() {
return {
latitude:'34.22470107969977',
longitude:'108.88673268246426',
markers:
[
{
id:111,
latitude:'',
longitude:'',
title:"地址",
iconPath:'../../static/images/map-icon.png',
width:20,
height:20,
callout:{
content:'',
color:'black',
fontSize:12,
bgColor:'white',
padding:10,
textAlign:'left',
},
}
]
,
};
}
}
</script>
<style lang="less">
</style>
0 个回复