Commit 263046ad authored by mahui's avatar mahui

数据更新

parent 78ab3fde
......@@ -11,9 +11,11 @@
left: 0;
right: 0;
}
#allmap .anchorBL a {
display: none !important;
}
#allmap .BMap_bubble_content {
position: relative !important;
top: 10px !important;
......@@ -21,42 +23,40 @@
overflow-y: auto !important;
}
#allmap .BMap_bubble_content>p {
#allmap .BMap_bubble_content > p {
line-height: 1em !important;
}
</style>
<script>
export default ({
name: 'mapDetail',
data(){
return{
value:'全区',
options:[
{label:'全区',value:'全区'},
{label:'锦城街道',value:'锦城街道'},
{label:'玲珑街道',value:'玲珑街道'},
{label:'锦南街道',value:'锦南街道'},
{label:'板桥镇',value:'板桥镇'},
{label:'锦北街道',value:'锦北街道'},
{label:'青山湖街道',value:'青山湖街道'},
{label:'高虹镇',value:'高虹镇'},
{label:'太湖源镇',value:'太湖源镇'},
{label:'天目山镇',value:'天目山镇'},
{label:'於潜镇',value:'於潜镇'},
{label:'潜川镇',value:'潜川镇'},
{label:'太阳镇',value:'太阳镇'},
{label:'湍口镇',value:'湍口镇'},
{label:'河桥镇',value:'河桥镇'},
{label:'昌化镇',value:'昌化镇'},
{label:'龙岗镇',value:'龙岗镇'},
{label:'岛石镇',value:'岛石镇'},
{label:'清凉峰镇',value:'清凉峰镇'}
data() {
return {
value: '全区',
options: [
{label: '全区', value: '全区'},
{label: '锦城街道', value: '锦城街道'},
{label: '玲珑街道', value: '玲珑街道'},
{label: '锦南街道', value: '锦南街道'},
{label: '板桥镇', value: '板桥镇'},
{label: '锦北街道', value: '锦北街道'},
{label: '青山湖街道', value: '青山湖街道'},
{label: '高虹镇', value: '高虹镇'},
{label: '太湖源镇', value: '太湖源镇'},
{label: '天目山镇', value: '天目山镇'},
{label: '於潜镇', value: '於潜镇'},
{label: '潜川镇', value: '潜川镇'},
{label: '太阳镇', value: '太阳镇'},
{label: '湍口镇', value: '湍口镇'},
{label: '河桥镇', value: '河桥镇'},
{label: '昌化镇', value: '昌化镇'},
{label: '龙岗镇', value: '龙岗镇'},
{label: '岛石镇', value: '岛石镇'},
{label: '清凉峰镇', value: '清凉峰镇'}
],
map: undefined,
keywords: '',
all_data: [
],
all_data: [],
// search_data: [
// {
// id:1,
......@@ -734,1054 +734,1054 @@
// ],
search_data: [
{
type:'青山',
label:'青罗线与岗阳街路口',
position:'119.810772,30.269372',
data:[{
type:1,
num:1
type: '青山',
label: '青罗线与岗阳街路口',
position: '119.810772,30.269372',
data: [{
type: 1,
num: 1
}],
remark:'盲区'
remark: '盲区'
},
{
type:'青山',
label:'胜联路十字路口',
position:'119.825431,30.299203',
data:[{
type:1,
num:1
type: '青山',
label: '胜联路十字路口',
position: '119.825431,30.299203',
data: [{
type: 1,
num: 1
}],
remark:'盲区'
remark: '盲区'
},
{
type:'青山',
label:'胜联路第三个叉路口路灯杆',
position:'119.83055,30.292087',
data:[{
type:1,
num:1
type: '青山',
label: '胜联路第三个叉路口路灯杆',
position: '119.83055,30.292087',
data: [{
type: 1,
num: 1
}],
remark:'盲区'
remark: '盲区'
},
{
type:'青山',
label:'杭瑞高速与汪宫线路口',
position:'119.867362,30.248934',
data:[{
type:1,
num:1
type: '青山',
label: '杭瑞高速与汪宫线路口',
position: '119.867362,30.248934',
data: [{
type: 1,
num: 1
}],
remark:'去余杭有入口补盲区'
remark: '去余杭有入口补盲区'
},
{
type:'青山',
label:'发达路与科技大道叉口朝北',
position:'119.836292,30.257019',
data:[{
type:1,
num:1
type: '青山',
label: '发达路与科技大道叉口朝北',
position: '119.836292,30.257019',
data: [{
type: 1,
num: 1
}],
remark:'盲区'
remark: '盲区'
},
{
type:'青山',
label:'科技大道慢车道出口富庆厂边朝东',
position:'119.838519,30.256912',
data:[{
type:1,
num:1
type: '青山',
label: '科技大道慢车道出口富庆厂边朝东',
position: '119.838519,30.256912',
data: [{
type: 1,
num: 1
}],
remark:'主要慢车与快车道路口',
remark: '主要慢车与快车道路口',
},
{
type:'青山',
label:'科技大道与活龙岭路路口朝北',
position:'119.842177,30.256681',
data:[{
type:1,
num:1
type: '青山',
label: '科技大道与活龙岭路路口朝北',
position: '119.842177,30.256681',
data: [{
type: 1,
num: 1
}],
remark:'盲区'
remark: '盲区'
},
{
type:'青山',
label:'科技大道与灵凤路十字路口',
position:'119.812699,30.258101',
data:[{
type:1,
num:1
type: '青山',
label: '科技大道与灵凤路十字路口',
position: '119.812699,30.258101',
data: [{
type: 1,
num: 1
}],
remark:'新建路口打通盲区'
remark: '新建路口打通盲区'
},
{
type:'青山',
label:'科技大道与星港路十字路口(地铁青山湖站)',
position:'119.824154,30.257174',
data:[{
type:1,
num:1
type: '青山',
label: '科技大道与星港路十字路口(地铁青山湖站)',
position: '119.824154,30.257174',
data: [{
type: 1,
num: 1
}],
remark:'重要路口盲区'
remark: '重要路口盲区'
},
{
type:'青山',
label:'童村与锦北街道交界处',
position:'119.802544,30.278841',
data:[{
type:1,
num:2
type: '青山',
label: '童村与锦北街道交界处',
position: '119.802544,30.278841',
data: [{
type: 1,
num: 2
}],
remark:'新建道路十字路口'
remark: '新建道路十字路口'
},
{
type:'青山',
label:'蒋杨村青牧线6公里处',
position:'119.780361,30.223909',
data:[{
type:1,
num:1
type: '青山',
label: '蒋杨村青牧线6公里处',
position: '119.780361,30.223909',
data: [{
type: 1,
num: 1
}],
remark:'朝绿道停车场岔口'
remark: '朝绿道停车场岔口'
},
{
type:'青山',
label:'329国道隧道口青山交界处',
position:'119.795874,30.225671',
data:[{
type:1,
num:1
type: '青山',
label: '329国道隧道口青山交界处',
position: '119.795874,30.225671',
data: [{
type: 1,
num: 1
}],
remark:'主要进出青山与往锦里入口'
remark: '主要进出青山与往锦里入口'
},
{
type:'青山',
label:'科技大道与临余桥交界处',
position:'119.865873,30.257794',
data:[{
type:1,
num:2
type: '青山',
label: '科技大道与临余桥交界处',
position: '119.865873,30.257794',
data: [{
type: 1,
num: 2
}],
remark:'进出青山大环'
remark: '进出青山大环'
},
{
type:'青山',
label:'科技大道与锦北街道街道交界处锦福家园',
position:'119.808884,30.259510',
data:[{
type:1,
num:2
type: '青山',
label: '科技大道与锦北街道街道交界处锦福家园',
position: '119.808884,30.259510',
data: [{
type: 1,
num: 2
}],
remark:'朝快慢车道岔口'
remark: '朝快慢车道岔口'
},
{
type:'青山',
label:'科技大道与相府路十字路口',
position:'119.862038,30.256616',
data:[{
type:1,
num:2
type: '青山',
label: '科技大道与相府路十字路口',
position: '119.862038,30.256616',
data: [{
type: 1,
num: 2
}],
remark:'原监控有盲区'
remark: '原监控有盲区'
},
{
type:'青山',
label:'汪家埠与余杭交界处',
position:'119.867972,30.252136',
data:[{
type:1,
num:1
type: '青山',
label: '汪家埠与余杭交界处',
position: '119.867972,30.252136',
data: [{
type: 1,
num: 1
}],
remark:'十字路口补盲区'
remark: '十字路口补盲区'
},
{
type:'青山',
label:'255县道岗阳街与余杭交界处朝东',
position:'119.828369,30.272543',
data:[{
type:1,
num:1
type: '青山',
label: '255县道岗阳街与余杭交界处朝东',
position: '119.828369,30.272543',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'青山',
label:'杭叉东面杨梅湾与余杭交界处',
position:'119.864695,30.261076',
data:[{
type:1,
num:1
type: '青山',
label: '杭叉东面杨梅湾与余杭交界处',
position: '119.864695,30.261076',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'青山',
label:'青山大道与塘藤街十字路口',
position:'119.846491,30.264958',
data:[{
type:1,
num:1
type: '青山',
label: '青山大道与塘藤街十字路口',
position: '119.846491,30.264958',
data: [{
type: 1,
num: 1
}],
remark:'十字路口补盲区'
remark: '十字路口补盲区'
},
{
type:'青山',
label:'329国道朱村交叉口',
position:'119.808439,30.225932',
data:[{
type:1,
num:1
type: '青山',
label: '329国道朱村交叉口',
position: '119.808439,30.225932',
data: [{
type: 1,
num: 1
}],
remark:'重要交叉口补盲区'
remark: '重要交叉口补盲区'
},
{
type:'青山',
label:'蒋墅街-青山二小北门',
position:'119.825746,30.253331',
data:[{
type:1,
num:1
type: '青山',
label: '蒋墅街-青山二小北门',
position: '119.825746,30.253331',
data: [{
type: 1,
num: 1
}],
remark:'重点安保区域'
remark: '重点安保区域'
},
{
type:'青山',
label:'蒋墅街-星港路叉口',
position:'119.824973,30.253182',
data:[{
type:1,
num:4
}],
remark:'重点安保区域'
},
{
type:'青山',
label:'星港路-青山二小西门',
position:'119.825306,30.252107',
data:[{
type:1,
num:1
}],
remark:'重点安保区域'
},
{
type:'青山',
label:'星港路-天柱街叉口',
position:'119.825681,30.251227',
data:[{
type:1,
num:1
}],
remark:'重点安保区域'
},
{
type:'青山',
label:'星港路-青山二小南门',
position:'119.826545,30.251433',
data:[{
type:1,
num:1
}],
remark:'重点安保区域'
},
{
type:'青山',
label:'科技大道与星港路向东',
position:'119.824154,30.257174',
data:[{
type:2,
num:1
}],
remark:'青山湖站重要安保区域'
},{
type:'青山',
label:'科技大道与星港路向西',
position:'119.824154,30.257174',
data:[{
type:2,
num:1
}],
remark:'青山湖站重要安保区域'
},{
type:'青山',
label:'童村与锦北街道交界处向东',
position:'119.802544,30.278841',
data:[{
type:1,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'童村与锦北街道交界处向西',
position:'119.802544,30.278841',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'牧棉线与板桥交界处向东',
position:'119.780142,30.214736',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'牧棉线与板桥交界处向西',
position:'119.780142,30.214736',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'蒋杨村青牧线6公里处向东',
position:'119.780361,30.223909',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'蒋杨村青牧线6公里处向西',
position:'119.780361,30.223909',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'329国道汪家埠公交站向西',
position:'119.869039,30.251882',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'329国道汪家埠公交站向东',
position:'119.869039,30.251882',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'329国道隧道口青山交界处向东',
position:'119.795874,30.225671',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'329国道隧道口青山交界处向西',
position:'119.795874,30.225671',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'科技大道与临余桥交界处向东',
position:'119.865873,30.257794',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'科技大道与临余桥交界处向西',
position:'119.865873,30.257794',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'科技大道与锦北街道街道交界处锦福家园向东',
position:'119.808884,30.259510',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'科技大道与锦北街道街道交界处锦福家园向西',
position:'119.808884,30.259510',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'胜联路电子科技大学与余杭交界处向北',
position:'119.830757,30.292202',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'胜联路电子科技大学与余杭交界处向南',
position:'119.830757,30.292202',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'255县道岗阳街与余杭交界处向东',
position:'119.828369,30.272543',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'255县道岗阳街与余杭交界处向西',
position:'119.828369,30.272543',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'杭叉东面杨梅湾与余杭交界处向东',
position:'119.864695,30.261076',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'杭叉东面杨梅湾与余杭交界处向西',
position:'119.864695,30.261076',
data:[{
type:2,
num:1
}],
remark:'交界重要入口'
},{
type:'青山',
label:'青山水库大坝与保安学校交界处向北',
position:'119.804201,30.247906',
data:[{
type:2,
num:1
}],
remark:'学校重点安保区域'
},{
type:'青山',
label:'青山水库大坝与保安学校交界处向南',
position:'119.804201,30.247906',
data:[{
type:2,
num:1
}],
remark:'学校重点安保区域'
},{
type:'青山',
label:'天柱街-青山二小南门向东',
position:'119.826753,30.251370',
data:[{
type:2,
num:1
}],
remark:'二小外围三条道路人行道'
},{
type:'青山',
label:'天柱街-青山二小南门向西',
position:'119.826753,30.251370',
data:[{
type:2,
num:1
}],
remark:'二小外围三条道路人行道'
},{
type:'青山',
label:'星港路-青山二小西门向北',
position:'119.825306,30.252107',
data:[{
type:2,
num:1
}],
remark:'二小外围三条道路人行道'
},{
type:'青山',
label:'星港路-青山二小西门向南',
position:'119.825306,30.252107',
data:[{
type:2,
num:1
}],
remark:'二小外围三条道路人行道'
},{
type:'青山',
label:'蒋墅街-青山二小北门向东',
position:'119.825746,30.253331',
data:[{
type:2,
num:1
}],
remark:'二小外围三条道路人行道'
},{
type:'青山',
label:'蒋墅街-青山二小北门向西',
position:'119.825746,30.253331',
data:[{
type:2,
num:1
}],
remark:'二小外围三条道路人行道'
},
{
type:'横畈',
label:'龙跃街与高庆路路口',
position:'119.776751,30.316235',
data:[{
type:1,
num:1
}],
remark:'园区重点十字路口'
},
{
type:'横畈',
label:'安村下安村11号后朝西',
position:'119.752576,30.315853',
data:[{
type:1,
num:1
}],
remark:'治安重点要道',
},
{
type:'横畈',
label:'安村下安村花园圃十字路口向西',
position:'119.751437,30.315078',
data:[{
type:1,
num:1
}],
remark:'治安重点要道',
},
{
type:'横畈',
label:'安村下安村11号前向北',
position:'119.752909,30.315952',
data:[{
type:1,
num:1
}],
remark:'治安重点要道'
{
type: '青山',
label: '蒋墅街-星港路叉口',
position: '119.824973,30.253182',
data: [{
type: 1,
num: 4
}],
remark: '重点安保区域'
},
{
type: '青山',
label: '星港路-青山二小西门',
position: '119.825306,30.252107',
data: [{
type: 1,
num: 1
}],
remark: '重点安保区域'
},
{
type: '青山',
label: '星港路-天柱街叉口',
position: '119.825681,30.251227',
data: [{
type: 1,
num: 1
}],
remark: '重点安保区域'
},
{
type: '青山',
label: '星港路-青山二小南门',
position: '119.826545,30.251433',
data: [{
type: 1,
num: 1
}],
remark: '重点安保区域'
},
{
type: '青山',
label: '科技大道与星港路向东',
position: '119.824154,30.257174',
data: [{
type: 2,
num: 1
}],
remark: '青山湖站重要安保区域'
}, {
type: '青山',
label: '科技大道与星港路向西',
position: '119.824154,30.257174',
data: [{
type: 2,
num: 1
}],
remark: '青山湖站重要安保区域'
}, {
type: '青山',
label: '童村与锦北街道交界处向东',
position: '119.802544,30.278841',
data: [{
type: 1,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '童村与锦北街道交界处向西',
position: '119.802544,30.278841',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '牧棉线与板桥交界处向东',
position: '119.780142,30.214736',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '牧棉线与板桥交界处向西',
position: '119.780142,30.214736',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '蒋杨村青牧线6公里处向东',
position: '119.780361,30.223909',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '蒋杨村青牧线6公里处向西',
position: '119.780361,30.223909',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '329国道汪家埠公交站向西',
position: '119.869039,30.251882',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '329国道汪家埠公交站向东',
position: '119.869039,30.251882',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '329国道隧道口青山交界处向东',
position: '119.795874,30.225671',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '329国道隧道口青山交界处向西',
position: '119.795874,30.225671',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '科技大道与临余桥交界处向东',
position: '119.865873,30.257794',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '科技大道与临余桥交界处向西',
position: '119.865873,30.257794',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '科技大道与锦北街道街道交界处锦福家园向东',
position: '119.808884,30.259510',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '科技大道与锦北街道街道交界处锦福家园向西',
position: '119.808884,30.259510',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '胜联路电子科技大学与余杭交界处向北',
position: '119.830757,30.292202',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '胜联路电子科技大学与余杭交界处向南',
position: '119.830757,30.292202',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '255县道岗阳街与余杭交界处向东',
position: '119.828369,30.272543',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '255县道岗阳街与余杭交界处向西',
position: '119.828369,30.272543',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '杭叉东面杨梅湾与余杭交界处向东',
position: '119.864695,30.261076',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '杭叉东面杨梅湾与余杭交界处向西',
position: '119.864695,30.261076',
data: [{
type: 2,
num: 1
}],
remark: '交界重要入口'
}, {
type: '青山',
label: '青山水库大坝与保安学校交界处向北',
position: '119.804201,30.247906',
data: [{
type: 2,
num: 1
}],
remark: '学校重点安保区域'
}, {
type: '青山',
label: '青山水库大坝与保安学校交界处向南',
position: '119.804201,30.247906',
data: [{
type: 2,
num: 1
}],
remark: '学校重点安保区域'
}, {
type: '青山',
label: '天柱街-青山二小南门向东',
position: '119.826753,30.251370',
data: [{
type: 2,
num: 1
}],
remark: '二小外围三条道路人行道'
}, {
type: '青山',
label: '天柱街-青山二小南门向西',
position: '119.826753,30.251370',
data: [{
type: 2,
num: 1
}],
remark: '二小外围三条道路人行道'
}, {
type: '青山',
label: '星港路-青山二小西门向北',
position: '119.825306,30.252107',
data: [{
type: 2,
num: 1
}],
remark: '二小外围三条道路人行道'
}, {
type: '青山',
label: '星港路-青山二小西门向南',
position: '119.825306,30.252107',
data: [{
type: 2,
num: 1
}],
remark: '二小外围三条道路人行道'
}, {
type: '青山',
label: '蒋墅街-青山二小北门向东',
position: '119.825746,30.253331',
data: [{
type: 2,
num: 1
}],
remark: '二小外围三条道路人行道'
}, {
type: '青山',
label: '蒋墅街-青山二小北门向西',
position: '119.825746,30.253331',
data: [{
type: 2,
num: 1
}],
remark: '二小外围三条道路人行道'
},
{
type: '横畈',
label: '龙跃街与高庆路路口',
position: '119.776751,30.316235',
data: [{
type: 1,
num: 1
}],
remark: '园区重点十字路口'
},
{
type: '横畈',
label: '安村下安村11号后朝西',
position: '119.752576,30.315853',
data: [{
type: 1,
num: 1
}],
remark: '治安重点要道',
},
{
type: '横畈',
label: '安村下安村花园圃十字路口向西',
position: '119.751437,30.315078',
data: [{
type: 1,
num: 1
}],
remark: '治安重点要道',
},
{
type: '横畈',
label: '安村下安村11号前向北',
position: '119.752909,30.315952',
data: [{
type: 1,
num: 1
}],
remark: '治安重点要道'
},
{
type:'横畈',
label:'安村新横线路口修理厂边',
position:'119.757500,30.314102',
data:[{
type:1,
num:1
type: '横畈',
label: '安村新横线路口修理厂边',
position: '119.757500,30.314102',
data: [{
type: 1,
num: 1
}],
remark:'十字路口补盲区'
remark: '十字路口补盲区'
},
{
type:'横畈',
label:'洪村曹家头路口',
position:'119.773822,30.345767',
data:[{
type:1,
num:1
type: '横畈',
label: '洪村曹家头路口',
position: '119.773822,30.345767',
data: [{
type: 1,
num: 1
}],
remark:'十字路口补盲区'
remark: '十字路口补盲区'
},
{
type:'横畈',
label:'洪村胡山里路口',
position:'119.770385,30.353085',
data:[{
type:1,
num:1
type: '横畈',
label: '洪村胡山里路口',
position: '119.770385,30.353085',
data: [{
type: 1,
num: 1
}],
remark:'十字路口补盲区'
remark: '十字路口补盲区'
},
{
type:'横畈',
label:'长西线临安与余杭交界处',
position:'119.801380,30.323655',
data:[{
type:1,
num:2
type: '横畈',
label: '长西线临安与余杭交界处',
position: '119.801380,30.323655',
data: [{
type: 1,
num: 2
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线鼎盛建材',
position:'119.802737,30.328200',
data:[
type: '横畈',
label: '长西线鼎盛建材',
position: '119.802737,30.328200',
data: [
{
type:1,
num:1
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线下唐楼北苕溪',
position:'119.804330,30.330085',
data:[{
type:2,
num:1
type: '横畈',
label: '长西线下唐楼北苕溪',
position: '119.804330,30.330085',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'下唐楼与余杭交界处',
position:'119.807258,30.334022',
data:[{
type:1,
num:1
type: '横畈',
label: '下唐楼与余杭交界处',
position: '119.807258,30.334022',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'陈市线与余杭锦塘村岔口向北',
position:'119.802914,30.313830',
data:[{
type:1,
num:1
type: '横畈',
label: '陈市线与余杭锦塘村岔口向北',
position: '119.802914,30.313830',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'陈市线与余杭交界处桥头',
position:'119.803679,30.321410',
data:[{
type:1,
num:1
type: '横畈',
label: '陈市线与余杭交界处桥头',
position: '119.803679,30.321410',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'市地老路与余杭交接',
position:'119.802046,30.321514',
data:[{
type:1,
num:1
type: '横畈',
label: '市地老路与余杭交接',
position: '119.802046,30.321514',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'新横线与安村交界处',
position:'119.754917,30.306819',
data:[{
type:1,
num:1
type: '横畈',
label: '新横线与安村交界处',
position: '119.754917,30.306819',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'新长西线与安村路口',
position:'119.738436,30.315498',
data:[{
type:1,
num:1
type: '横畈',
label: '新长西线与安村路口',
position: '119.738436,30.315498',
data: [{
type: 1,
num: 1
}],
remark:'朝安村入口盲区'
remark: '朝安村入口盲区'
},
{
type:'横畈',
label:'横风线风笑岭与余杭交界处',
position:'119.769153,30.370866',
data:[{
type:1,
num:1
type: '横畈',
label: '横风线风笑岭与余杭交界处',
position: '119.769153,30.370866',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'高山村银坪岭',
position:'119.700932,30.383465',
data:[{
type:1,
num:1
type: '横畈',
label: '高山村银坪岭',
position: '119.700932,30.383465',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'杨山路高虹隧道边',
position:'119.734760,30.313327',
data:[{
type:1,
num:1
type: '横畈',
label: '杨山路高虹隧道边',
position: '119.734760,30.313327',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线与庆林街叉路口',
position:'119.746043,30.328938',
data:[{
type:1,
num:1
type: '横畈',
label: '长西线与庆林街叉路口',
position: '119.746043,30.328938',
data: [{
type: 1,
num: 1
}],
remark:'重要十字路口补盲区'
remark: '重要十字路口补盲区'
},
{
type:'横畈',
label:'陈市线与潘村交界处',
position:'119.777622,30.290064',
data:[
type: '横畈',
label: '陈市线与潘村交界处',
position: '119.777622,30.290064',
data: [
{
type:1,
num:1
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'鸡市线与潘村交界处',
position:'119.777206,30.290432',
data:[{
type:1,
num:1
type: '横畈',
label: '鸡市线与潘村交界处',
position: '119.777206,30.290432',
data: [{
type: 1,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'瑞东厂门口向东',
position:'119.789278,30.316935',
data:[{
type:2,
num:1
type: '横畈',
label: '瑞东厂门口向东',
position: '119.789278,30.316935',
data: [{
type: 2,
num: 1
}],
remark:'园区重要人行道'
remark: '园区重要人行道'
},
{
type:'横畈',
label:'瑞东厂门口向西',
position:'119.789278,30.316935',
data:[{
type:2,
num:1
type: '横畈',
label: '瑞东厂门口向西',
position: '119.789278,30.316935',
data: [{
type: 2,
num: 1
}],
remark:'园区重要人行道'
remark: '园区重要人行道'
},
{
type:'横畈',
label:'安村下安村31号1000号杆向西',
position:'119.751222,30.315630',
data:[{
type:2,
num:1
type: '横畈',
label: '安村下安村31号1000号杆向西',
position: '119.751222,30.315630',
data: [{
type: 2,
num: 1
}],
remark:'这个点是否需要'
remark: '这个点是否需要'
},
{
type:'横畈',
label:'长西线临安与余杭交界处向西',
position:'119.801380,30.323655',
data:[{
type:2,
num:1
type: '横畈',
label: '长西线临安与余杭交界处向西',
position: '119.801380,30.323655',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线临安与余杭交界处向东',
position:'119.801380,30.323655',
data:[{
type:2,
num:1
type: '横畈',
label: '长西线临安与余杭交界处向东',
position: '119.801380,30.323655',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线鼎盛建材向东',
position:'119.802737,30.328200',
data:[{
type:2,
num:1
type: '横畈',
label: '长西线鼎盛建材向东',
position: '119.802737,30.328200',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线鼎盛建材向西',
position:'119.802737,30.328200',
data:[{
type:2,
num:1
type: '横畈',
label: '长西线鼎盛建材向西',
position: '119.802737,30.328200',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线下唐楼北苕溪向东',
position:'119.804330,30.330085',
data:[{
type:2,
num:1
type: '横畈',
label: '长西线下唐楼北苕溪向东',
position: '119.804330,30.330085',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线下唐楼北苕溪向西',
position:'119.804330,30.330085',
data:[{
type:2,
num:1
type: '横畈',
label: '长西线下唐楼北苕溪向西',
position: '119.804330,30.330085',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'下唐楼与余杭交界处向西',
position:'119.807258,30.334022',
data:[{
type:2,
num:1
type: '横畈',
label: '下唐楼与余杭交界处向西',
position: '119.807258,30.334022',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'陈市线与余杭锦塘村岔口向北',
position:'119.802914,30.313830',
data:[{
type:2,
num:1
type: '横畈',
label: '陈市线与余杭锦塘村岔口向北',
position: '119.802914,30.313830',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'陈市线与余杭锦塘村岔口向南',
position:'119.802914,30.313830',
data:[{
type:2,
num:1
type: '横畈',
label: '陈市线与余杭锦塘村岔口向南',
position: '119.802914,30.313830',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'陈市线与余杭交界处桥头向东',
position:'119.803679,30.321410',
data:[{
type:2,
num:1
type: '横畈',
label: '陈市线与余杭交界处桥头向东',
position: '119.803679,30.321410',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'陈市线与余杭交界处桥头向西',
position:'119.803679,30.321410',
data:[{
type:2,
num:1
type: '横畈',
label: '陈市线与余杭交界处桥头向西',
position: '119.803679,30.321410',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'长西线临安与余杭交界处向东',
position:'119.801380,30.323655',
data:[{
type:2,
num:1
type: '横畈',
label: '长西线临安与余杭交界处向东',
position: '119.801380,30.323655',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'市地老路与余杭交接处向东',
position:'119.802046,30.321514',
data:[{
type:2,
num:1
type: '横畈',
label: '市地老路与余杭交接处向东',
position: '119.802046,30.321514',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'市地老路与余杭交接处向西',
position:'119.802046,30.321514',
data:[{
type:2,
num:1
type: '横畈',
label: '市地老路与余杭交接处向西',
position: '119.802046,30.321514',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'新横线与安村交界处向东',
position:'119.754917,30.306819',
data:[{
type:2,
num:1
type: '横畈',
label: '新横线与安村交界处向东',
position: '119.754917,30.306819',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'新横线与安村交界处向西',
position:'119.754917,30.306819',
data:[{
type:2,
num:1
type: '横畈',
label: '新横线与安村交界处向西',
position: '119.754917,30.306819',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'新长西线与安村路口向东',
position:'119.738436,30.315498',
data:[{
type:2,
num:1
type: '横畈',
label: '新长西线与安村路口向东',
position: '119.738436,30.315498',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'新长西线与安村路口向西',
position:'119.738436,30.315498',
data:[{
type:2,
num:1
type: '横畈',
label: '新长西线与安村路口向西',
position: '119.738436,30.315498',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'横风线风笑岭与余杭交界处向东',
position:'119.769153,30.370866',
data:[{
type:2,
num:1
type: '横畈',
label: '横风线风笑岭与余杭交界处向东',
position: '119.769153,30.370866',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'横风线风笑岭与余杭交界处向西',
position:'119.769153,30.370866',
data:[{
type:2,
num:1
type: '横畈',
label: '横风线风笑岭与余杭交界处向西',
position: '119.769153,30.370866',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'高后线大王岭公交站站牌向东',
position:'119.735044,30.329645',
data:[{
type:2,
num:1
type: '横畈',
label: '高后线大王岭公交站站牌向东',
position: '119.735044,30.329645',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'高后线大王岭公交站站牌向西',
position:'119.735044,30.329645',
data:[{
type:2,
num:1
type: '横畈',
label: '高后线大王岭公交站站牌向西',
position: '119.735044,30.329645',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'高山村银坪岭向东',
position:'119.700932,30.383465',
data:[{
type:2,
num:1
type: '横畈',
label: '高山村银坪岭向东',
position: '119.700932,30.383465',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'杨山路高虹隧道边向东',
position:'119.734760,30.313327',
data:[{
type:2,
num:1
type: '横畈',
label: '杨山路高虹隧道边向东',
position: '119.734760,30.313327',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'陈市线与潘村交界处向东',
position:'119.777622,30.290064',
data:[{
type:2,
num:1
type: '横畈',
label: '陈市线与潘村交界处向东',
position: '119.777622,30.290064',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'陈市线与潘村交界处向西',
position:'119.777622,30.290064',
data:[{
type:2,
num:1
type: '横畈',
label: '陈市线与潘村交界处向西',
position: '119.777622,30.290064',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
},
{
type:'横畈',
label:'鸡市线与潘村交界处',
position:'119.777206,30.290432',
data:[{
type:2,
num:1
type: '横畈',
label: '鸡市线与潘村交界处',
position: '119.777206,30.290432',
data: [{
type: 2,
num: 1
}],
remark:'交界重要入口'
remark: '交界重要入口'
}
],
data: {}
}
},
mounted() {
this.$nextTick(()=>{
this.$nextTick(() => {
this.clearOverlays();
})
},
......@@ -1795,30 +1795,32 @@
this.map.addControl(new BMap.ScaleControl()); // 添加比例尺控件
this.map.addControl(new BMap.OverviewMapControl()); //添加缩略地图控件
this.map.enableScrollWheelZoom();
setTimeout(()=>{
setTimeout(() => {
this.getBoundary(this.map);
}, 2000);
},
mapShow(coordinate, item,type=1) {
mapShow(coordinate, item, type = 1) {
let self = this;
let opts = {
position: coordinate, // 指定文本标注所在的地理位置
offset: new BMap.Size(5, 0) //设置文本偏移量
};
let str=`<p>${item.label}</p><p style="font-weight: 700">`;
for(let i of item.data){
if(i.type==1){
str+=`<span>监控-${i.num}&nbsp;</span>`
}else if(i.type==2){
str+=`<span>人脸-${i.num}&nbsp;</span>`
}else if(i.type==3){
str+=`<span>卡扣-${i.num}&nbsp;</span>`
}else{
str+=`</p>`;
let str = `<p>${item.label}</p><p style="font-weight: 700">`;
let url = "static/blue.png";
for (let i of item.data) {
if (i.type == 1) {
str += `<span>监控(球机)-${i.num}&nbsp;</span>`
} else if (i.type == 2) {
str += `<span>人脸-${i.num}&nbsp;</span>`
} else if (i.type == 3) {
str += `<span>卡扣-${i.num}&nbsp;</span>`
} else {
str += `</p>`;
}
url = i.type == 1 ? "static/jiankong1.png" : i.type == 2 ? "static/jiankong2.png" : i.type == 3 ? "static/jiankong3.png" : "static/blue.png";
}
if(item.remark){
str+=`<p style="font-weight: 700">备注:${item.remark}</p>`;
if (item.remark) {
str += `<p style="font-weight: 700">备注:${item.remark}</p>`;
}
let label = new BMap.Label(str, opts); // 创建文本标注对象
label.setStyle({
......@@ -1831,33 +1833,32 @@
fontFamily: "微软雅黑"
});
this.map.addOverlay(label);
let url = type==1?"static/monitor1.png":type==2?"static/monitor2.png":type==3?"static/monitor3.png":"static/blue.png";
let myIcon = new BMap.Icon(url, new BMap.Size(12,16));
let marker = new BMap.Marker(coordinate,{icon:myIcon});
let myIcon = new BMap.Icon(url, new BMap.Size(32, 29));
let marker = new BMap.Marker(coordinate, {icon: myIcon});
this.map.addOverlay(marker); // 将标注添加到地图中
marker.addEventListener("click", function() {
self.$emit('town_accept',item);
marker.addEventListener("click", function () {
self.$emit('town_accept', item);
});
marker.addEventListener("mouseover", function(item) {
marker.addEventListener("mouseover", function (item) {
label.setStyle({
opacity: 1,
});
// self.map.openInfoWindow(infoWindow, coordinate); //开启信息窗口
});
marker.addEventListener("mouseout", function() {
marker.addEventListener("mouseout", function () {
label.setStyle({
opacity: 0,
});
// self.map.openInfoWindow(infoWindow, coordinate); //开启信息窗口
});
},
getBoundary: function(map, bool, index) {
getBoundary: function (map, bool, index) {
let self = this;
let bdary = new BMap.Boundary();
bdary.get('临安区', function (rs) {       //获取行政区域       
const count = rs.boundaries.length;
if (count === 0) {
return ;
return;
}
const EN_JW = '180, 90;';
const NW_JW = '-180, 90;';
......@@ -1865,17 +1866,22 @@
const SE_JW = '180, -90;';
// 东南西北四个角添加一个覆盖物
const ply1 = new BMap.Polygon(SE_JW + SE_JW + WS_JW + NW_JW + EN_JW + SE_JW + rs.boundaries[0],
{ strokeColor: 'none', fillColor: '#efefef', fillOpacity: 1, strokeOpacity: 1 });
{strokeColor: 'none', fillColor: '#efefef', fillOpacity: 1, strokeOpacity: 1});
map.addOverlay(ply1);
// 绘制‘临安区’整体的外轮廓
for (let i = 0; i < count; i++) {
const ply = new BMap.Polygon(rs.boundaries[i], {strokeWeight: 2, strokeColor: '#3396fb', fillColor: 'transparent',fillOpacity: 0});
const ply = new BMap.Polygon(rs.boundaries[i], {
strokeWeight: 2,
strokeColor: '#3396fb',
fillColor: 'transparent',
fillOpacity: 0
});
map.addOverlay(ply);
}
let marker;
for (let item of self.search_data) {
marker = new BMap.Point(item.position.split(',')[0], item.position.split(',')[1]);
self.mapShow(marker, item,item.type=='横畈'?2:1);
self.mapShow(marker, item, item.type == '横畈' ? 2 : 1);
// if(Array.isArray(item.data)){
// for(let j of item.data){
// for(let i=0;i<j.num;i++){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment