|
@@ -580,7 +580,7 @@ export default {
|
|
|
|
|
|
map2DViewer.map = L.map("map2DViewer", {
|
|
|
crs: systemConfig.imageryLayer.crs,
|
|
|
- zoom: 1,
|
|
|
+ zoom: 0,
|
|
|
minZoom: systemConfig.imageryLayer.minZoom,
|
|
|
maxZoom: systemConfig.imageryLayer.maxZoom,
|
|
|
attributionControl: false,
|
|
@@ -632,11 +632,11 @@ export default {
|
|
|
let newCorrectCoordArr = publicFun.latLngsCorrection(correctCordArr);
|
|
|
feature.geometry.coordinates = newCorrectCoordArr;
|
|
|
|
|
|
- // if (
|
|
|
- // this.town.indexOf(feature.properties.NAME.replace("镇", "")) > -1
|
|
|
- // ) {
|
|
|
- this.renderPolygon(feature);
|
|
|
- // }
|
|
|
+ if (
|
|
|
+ this.town.indexOf(feature.properties.NAME.replace("镇", "")) > -1
|
|
|
+ ) {
|
|
|
+ this.renderPolygon(feature);
|
|
|
+ }
|
|
|
});
|
|
|
});
|
|
|
},
|
|
@@ -1012,7 +1012,7 @@ export default {
|
|
|
position: absolute;
|
|
|
width: 100%;
|
|
|
height: calc(100% - 60px);
|
|
|
- background-color: rgb(0,47,71);
|
|
|
+ background-color: rgb(0, 47, 71);
|
|
|
z-index: 1;
|
|
|
top: 60px;
|
|
|
left: 0px;
|