处理面数据错误问题

master
许宏杰 4 months ago
parent ad30fec18a
commit 39d0ff2c0c

@ -1,7 +1,11 @@
<template>
<div class="foldPane-bottom">
<div class="panel-container">
<div class="fold-btn" @click="togglePanel()">
<div
class="fold-btn"
@click="togglePanel()"
v-show="queryParamsXiaoqu.xiaoquId != 267"
>
<img
:src="
panel.bottomPanel
@ -28,7 +32,7 @@ export default {
return {};
},
computed: {
...mapGetters(["panel"]),
...mapGetters(["panel", "queryParamsXiaoqu"]),
},
created() {},

@ -1643,35 +1643,7 @@
]
}
},
{
"type": "Feature",
"properties": {
"OBJECTID": 66,
"TextString": "319A",
"Shape_Leng": 36.089955326599998,
"Shape_Area": 76.9639192466,
"楼号": "八号楼",
"层次": "4"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[121.090485487080514, 31.478158816779299],
[121.090446529692557, 31.478211482676201],
[121.090479499012702, 31.478229397302748],
[121.090512470888484, 31.4782473096971],
[121.09054544020789, 31.478265222104486],
[121.090584398838828, 31.478212555617354],
[121.090551427604495, 31.478194643236005],
[121.090518458309162, 31.478176730829414],
[121.090485487080514, 31.478158816779299]
]
]
]
}
},
{
"type": "Feature",
"properties": {

@ -1611,67 +1611,7 @@
]
}
},
{
"type": "Feature",
"properties": {
"OBJECTID": 64,
"TextString": "310B",
"Shape_Leng": 50.424965803100001,
"Shape_Area": 89.791726114200003,
"楼号": "八号楼",
"层次": "5"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[121.090700582429122, 31.478180431428154],
[121.090661632263959, 31.47823310118023],
[121.090694603512972, 31.478251011881177],
[121.090714080842773, 31.478224676982581],
[121.0907470520728, 31.478242585468404],
[121.090727576681815, 31.478268920905762],
[121.090760550518013, 31.478286831016803],
[121.09079352180423, 31.478304741691268],
[121.090832474491464, 31.47825207187876],
[121.090799500648146, 31.478234161235825],
[121.090766527459422, 31.478216250578569],
[121.090700582429122, 31.478180431428154]
]
]
]
}
},
{
"type": "Feature",
"properties": {
"OBJECTID": 65,
"TextString": "319B",
"Shape_Leng": 36.0901760677,
"Shape_Area": 76.964141296199998,
"楼号": "八号楼",
"层次": "5"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[121.090485503400927, 31.478158784165071],
[121.09044655057221, 31.478211455527415],
[121.090479524323868, 31.478229364611945],
[121.090512495531911, 31.478247274810272],
[121.090545468685335, 31.478265185533729],
[121.090584419552457, 31.478212514158876],
[121.09055144835645, 31.478194605079757],
[121.090518474584897, 31.478176694362581],
[121.090485503400927, 31.478158784165071]
]
]
]
}
},
{
"type": "Feature",
"properties": {

@ -175,6 +175,7 @@ export default {
this.globalMap.fitBounds(this.geojson.getBounds());
},
addTextMarker(attr, point) {
if (attr.TextString == null) return;
var myIcon = L.divIcon({
className: "building-marker",
html: `<div class="houser">
@ -226,7 +227,7 @@ export default {
});
L.marker([point.lat, point.lng], {
icon: myIcon,
// interactive: false, //marker
interactive: false, //marker
}).addTo(this.mapLayer.marker);
},
},

Loading…
Cancel
Save