| | |
| | | res.near, |
| | | res.far |
| | | ), |
| | | outline: true, |
| | | outline: false, |
| | | outlineWidth: res.width, |
| | | |
| | | outlineColor: Cesium.Color.fromCssColorString( |
| | | res.outlineColor |
| | | ).withAlpha(res.outlineAlpha), |
| | | heightReference: Cesium.HeightReference.CLAMP_TO_GROUND, |
| | | }, |
| | | }); |
| | | }, |
| | |
| | | var coord = this.setCartesianToEightFour(val[i]) |
| | | geom.push(coord.lng, coord.lat) |
| | | } |
| | | |
| | | return { |
| | | id: this.isedit ? res.id : (new Date()).getTime(), |
| | | cnName: res.name, |
| | |
| | | type: 'polygon', |
| | | shpType: 'temporaryLayer', |
| | | layerType: '多边形', |
| | | outline: res.outline != null ? res.outline : false, |
| | | outline: res.polygon.outline != null ? res.polygon.outline._value : false, |
| | | width: res.polygon.outlineWidth ? res.polygon.outlineWidth._value : 1, |
| | | } |
| | | }, |