Commit 819c1720 by niuxiaolin

latest ui 08/26/2019 18:44:33

parent 990e9d7c
...@@ -6509,8 +6509,8 @@ ...@@ -6509,8 +6509,8 @@
}, },
"ngx-echarts": { "ngx-echarts": {
"version": "4.2.1", "version": "4.2.1",
"resolved": "https://registry.npmjs.org/ngx-echarts/-/ngx-echarts-4.2.1.tgz", "resolved": "https://registry.npm.taobao.org/ngx-echarts/download/ngx-echarts-4.2.1.tgz",
"integrity": "sha512-wdlIAkvnR9A1Wv4z8RMD2MX1Zinp9SmiCCu70nVYColV1c0LnFt0Ur85Uu/3yZlE/Yl1BblB5IAnHA3/iOG8cw==", "integrity": "sha1-wcIo0tuBcnQsUeXweSwUD+TFVd8=",
"requires": { "requires": {
"tslib": "^1.9.0" "tslib": "^1.9.0"
} }
......
...@@ -573,10 +573,7 @@ export class MainComponent implements OnInit { ...@@ -573,10 +573,7 @@ export class MainComponent implements OnInit {
_this.map.addOverlay(ply1); //遮罩物是半透明的,如果需要纯色可以多添加几层 _this.map.addOverlay(ply1); //遮罩物是半透明的,如果需要纯色可以多添加几层
//4. 给目标行政区划添加边框,其实就是给目标行政区划添加一个没有填充物的遮罩层 //4. 给目标行政区划添加边框,其实就是给目标行政区划添加一个没有填充物的遮罩层
var ply = new BMap.Polygon(rs.boundaries[0], { var ply = new BMap.Polygon(rs.boundaries[0], {
strokeWeight: 0, strokeWeight:4,strokeColor:"#696969",fillColor:"#dde7f6",fillOpacity:"0.1"
strokeColor: "#0000C6",
fillColor: "#dde7f6",
fillOpacity: "0.2"
}); });
// var ply = new BMap.Polygon(rs.boundaries[0], {strokeWeight:0,strokeColor:"#16e8d6",fillColor:"",fillOpacity:"0"}); // var ply = new BMap.Polygon(rs.boundaries[0], {strokeWeight:0,strokeColor:"#16e8d6",fillColor:"",fillOpacity:"0"});
_this.map.addOverlay(ply); _this.map.addOverlay(ply);
......
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