parent
15e025bc95
commit
677a4e0182
After Width: | Height: | Size: 5.4 KiB |
After Width: | Height: | Size: 456 KiB |
After Width: | Height: | Size: 8.1 KiB |
@ -0,0 +1,33 @@
|
||||
.div-marker {
|
||||
.marker-name {
|
||||
font-size: 16px;
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
text-shadow: 1px 1px 0px #000000;
|
||||
background: linear - gradient(to bottom, rgba(135, 206, 235, 0.1), rgba(89, 249, 255, 1));
|
||||
border: 1px solid #59F9FF;
|
||||
padding: 3px 13px;
|
||||
letter-spacing: 2px;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.marker-icon{
|
||||
margin: auto;
|
||||
margin-top:5px;
|
||||
width: 40px;
|
||||
height: 60px;
|
||||
background: url('../images/default-icon.png');
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.div-marker:after{
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -73px;
|
||||
left: calc(50% - 2px);
|
||||
display: block;
|
||||
width: 3px;
|
||||
height: 70px;
|
||||
border-right: 3px solid #2bcdbb;
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div class="map-container" id="mapContainer">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { onMounted } from 'vue';
|
||||
import autofit from 'autofit.js'
|
||||
onMounted(()=>{
|
||||
//启用适配
|
||||
autofit.init({
|
||||
el:"#mapContainer",
|
||||
dh: 1080,
|
||||
dw: 1920,
|
||||
resize:true,
|
||||
})
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.map-container{
|
||||
position: relative;
|
||||
z-index: 100;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
@ -0,0 +1,4 @@
|
||||
export { default as MapContainer } from './container.vue'
|
||||
export { default as PanelLeft } from './panelLeft.vue'
|
||||
export { default as PanelRight } from './panelRight.vue'
|
||||
export { default as MarsMap } from './marsMap.vue'
|
@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div class="panel-box panel-left">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.panel-left{
|
||||
left: 46px;
|
||||
}
|
||||
</style>
|
@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div class="panel-box panel-right">
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.panel-right{
|
||||
right: 46px;
|
||||
}
|
||||
</style>
|
@ -0,0 +1,211 @@
|
||||
[
|
||||
{
|
||||
"name": "云航低空研训基地",
|
||||
"wz": "120.657967,31.048193"
|
||||
},
|
||||
{
|
||||
"name": "吴江公园",
|
||||
"wz": "120.634741,31.155611"
|
||||
},
|
||||
{
|
||||
"name": "江苏同里国家湿地公园",
|
||||
"wz": "120.806956,31.157053"
|
||||
},
|
||||
{
|
||||
"name": "胜地生态公园",
|
||||
"wz": "120.650494,31.082684"
|
||||
},
|
||||
{
|
||||
"name": "新湖郁金香公园",
|
||||
"wz": "120.634291,31.183498"
|
||||
},
|
||||
{
|
||||
"name": "潜龙渠公园",
|
||||
"wz": "120.612246,30.909961"
|
||||
},
|
||||
{
|
||||
"name": "芦墟大渠荡生态公园",
|
||||
"wz": "120.852208,31.028415"
|
||||
},
|
||||
{
|
||||
"name": "镜湖公园",
|
||||
"wz": "120.675721,30.919475"
|
||||
},
|
||||
{
|
||||
"name": "七都湿地公园",
|
||||
"wz": "120.384969,30.953492"
|
||||
},
|
||||
{
|
||||
"name": "芦荡湖湿地公园",
|
||||
"wz": "120.640464,31.117824"
|
||||
},
|
||||
{
|
||||
"name": "苏州湾体育公园",
|
||||
"wz": "120.601284,31.115582"
|
||||
},
|
||||
{
|
||||
"name": "震泽公园",
|
||||
"wz": "120.500364,30.913989"
|
||||
},
|
||||
{
|
||||
"name": "东太湖生态园",
|
||||
"wz": "120.598503,31.148862"
|
||||
},
|
||||
{
|
||||
"name": "汾湖公园",
|
||||
"wz": "120.833018,31.009082"
|
||||
},
|
||||
{
|
||||
"name": "黎里古镇公园",
|
||||
"wz": "120.711281,30.988861"
|
||||
},
|
||||
{
|
||||
"name": "平望文体活动中心",
|
||||
"wz": "120.624934,30.972651"
|
||||
},
|
||||
{
|
||||
"name": "同里古镇公园",
|
||||
"wz": "120.723765,31.154999"
|
||||
},
|
||||
{
|
||||
"name": "吴江实验小学教育集团太湖校区",
|
||||
"wz": "120.629232,31.138336"
|
||||
},
|
||||
{
|
||||
"name": "吴江实验小学教育集团爱德校区",
|
||||
"wz": "120.63353,31.149451"
|
||||
},
|
||||
{
|
||||
"name": "吴江实验小学教育集团城中校区",
|
||||
"wz": "120.641363,31.163391"
|
||||
},
|
||||
{
|
||||
"name": "吴江实验小学教育集团长安实验小学",
|
||||
"wz": "120.65505,31.125751"
|
||||
},
|
||||
{
|
||||
"name": "鲈乡实验小学教育集团仲英校区",
|
||||
"wz": "120.631532,31.164911"
|
||||
},
|
||||
{
|
||||
"name": "鲈乡实验小学教育集团越秀校区",
|
||||
"wz": "120.628219,31.170382"
|
||||
},
|
||||
{
|
||||
"name": "鲈乡实验小学教育集团流虹校区",
|
||||
"wz": "120.635097,31.161342"
|
||||
},
|
||||
{
|
||||
"name": "思贤实验小学",
|
||||
"wz": "120.636957,31.127222"
|
||||
},
|
||||
{
|
||||
"name": "苏大附属吴江学校",
|
||||
"wz": "120.642029,31.092945"
|
||||
},
|
||||
{
|
||||
"name": "松陵小学",
|
||||
"wz": "120.644365,31.155881"
|
||||
},
|
||||
{
|
||||
"name": "北门小学",
|
||||
"wz": "120.648293,31.164774"
|
||||
},
|
||||
{
|
||||
"name": "绣湖东路小学",
|
||||
"wz": "120.696411,31.155009"
|
||||
},
|
||||
{
|
||||
"name": "淞南路小学",
|
||||
"wz": "120.666246,31.187018"
|
||||
},
|
||||
{
|
||||
"name": "三淞路小学",
|
||||
"wz": "120.665384,31.184736"
|
||||
},
|
||||
{
|
||||
"name": "吉市路小学",
|
||||
"wz": "120.671435,31.175657"
|
||||
},
|
||||
{
|
||||
"name": "云龙实验学校",
|
||||
"wz": "120.668912,31.148545"
|
||||
},
|
||||
{
|
||||
"name": "苏州湾外国语学校",
|
||||
"wz": "120.615709,31.113141"
|
||||
},
|
||||
{
|
||||
"name": "实验初级中学",
|
||||
"wz": "120.632518,31.14779"
|
||||
},
|
||||
{
|
||||
"name": "青云实验中学",
|
||||
"wz": "120.502819,30.827075"
|
||||
},
|
||||
{
|
||||
"name": "苏州湾实验初级中学",
|
||||
"wz": "120.60238,31.142594"
|
||||
},
|
||||
{
|
||||
"name": "松陵第一中学",
|
||||
"wz": "120.630625,31.167276"
|
||||
},
|
||||
{
|
||||
"name": "金家坝中学",
|
||||
"wz": "120.783595,31.089252"
|
||||
},
|
||||
{
|
||||
"name": "平望中学",
|
||||
"wz": "120.646572,30.981293"
|
||||
},
|
||||
{
|
||||
"name": "桃源中学",
|
||||
"wz": "120.48338,30.794556"
|
||||
},
|
||||
{
|
||||
"name": "震泽中学",
|
||||
"wz": "120.638371,31.124036"
|
||||
},
|
||||
{
|
||||
"name": "吴江中学",
|
||||
"wz": "120.606418,31.14296"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "吴江盛泽中学",
|
||||
"wz": "120.681466,30.891258"
|
||||
},
|
||||
{
|
||||
"name": "吴江汾湖高级中学",
|
||||
"wz": "120.850662,31.009218"
|
||||
},
|
||||
{
|
||||
"name": "震泽中学育英学校",
|
||||
"wz": "120.496718,30.909832"
|
||||
},
|
||||
{
|
||||
"name": "苏州枫华学校",
|
||||
"wz": "120.882975,31.052381"
|
||||
},
|
||||
{
|
||||
"name": "苏州中学苏州湾学校",
|
||||
"wz": "120.645367,31.076471"
|
||||
},
|
||||
{
|
||||
"name": "吴江新教育学校",
|
||||
"wz": "120.693969,31.157251"
|
||||
},
|
||||
{
|
||||
"name": "苏州大学未来校区",
|
||||
"wz": "120.666188,31.068729"
|
||||
},
|
||||
{
|
||||
"name": "苏州信息职业技术学院",
|
||||
"wz": "120.632702,31.135007"
|
||||
},
|
||||
{
|
||||
"name": "吴江高级中学",
|
||||
"wz": "120.645829,31.175176"
|
||||
}
|
||||
]
|
Loading…
Reference in new issue