I need to add several layers in Google Earth Engine. Everything works fine except some layers have masks and the resulting image does include masked regions. I need masked regions to contain a value of 1.
var threat2 = presz.add(slopeii.add(zonesZ.add(changeZ.add(lossZ))));