| | |
| | | if (!parent.SYFX_visible_color || !parent.SYFX_notVisible_color) { |
| | | if (configStyle && configStyle.syfx_nosee) { |
| | | firstColor.noSee = configStyle.syfx_nosee; |
| | | var unVisible_color = sgworld.cesium.Color.fromCssColorString(configStyle.syfx_nosee); |
| | | var unVisible_color = sgworld._cesium.Color.fromCssColorString(configStyle.syfx_nosee); |
| | | parent.SYFX_notVisible_color = { |
| | | r: unVisible_color.red, |
| | | g: unVisible_color.green, |
| | |
| | | |
| | | if (configStyle && configStyle.syfx_see) { |
| | | firstColor.see = configStyle.syfx_see; |
| | | var visible_color = sgworld.cesium.Color.fromCssColorString(configStyle.syfx_see); |
| | | var visible_color = sgworld._cesium.Color.fromCssColorString(configStyle.syfx_see); |
| | | parent.SYFX_visible_color = { |
| | | r: visible_color.red, |
| | | g: visible_color.green, |
| | |
| | | color="#ffffff"; |
| | | } |
| | | $('#visibleArea-input').val(color); |
| | | var visible_color = sgworld.cesium.Color.fromCssColorString(color); |
| | | var visible_color = sgworld._cesium.Color.fromCssColorString(color); |
| | | parent.SYFX_visible_color = { |
| | | r: visible_color.red, |
| | | g: visible_color.green, |
| | |
| | | color="#ffffff"; |
| | | } |
| | | $('#unVisibleArea-input').val(color); |
| | | var unVisible_color = sgworld.cesium.Color.fromCssColorString(color); |
| | | var unVisible_color = sgworld._cesium.Color.fromCssColorString(color); |
| | | parent.SYFX_notVisible_color = { |
| | | r: unVisible_color.red, |
| | | g: unVisible_color.green, |