|
@@ -230,7 +230,7 @@ export default {
|
|
|
clampToGround: true,
|
|
|
stroke: scolor,
|
|
|
fill: fcolor.withAlpha(0.3), //注意:颜色必须大写,即不能为blue
|
|
|
- strokeWidth: 3,
|
|
|
+ strokeWidth: 5,
|
|
|
});
|
|
|
polygon.then(function (dataSource) {
|
|
|
// dataSource.id = id;
|
|
@@ -238,7 +238,7 @@ export default {
|
|
|
viewer.dataSources.add(dataSource);
|
|
|
viewer.zoomTo(dataSource);
|
|
|
dataSourceList[id] = dataSource;
|
|
|
- if (id == "all") this.isshowAll = true;
|
|
|
+ if (id == "all") _this.isshowAll = true;
|
|
|
// 可以获取实体并进行操作
|
|
|
// dataSource.entities.values.forEach((entity) => {
|
|
|
// // 你可以在这里设置实体的属性,例如位置、颜色等
|