function runGeeViz(){
Map2.addSerializedLayer({"result": "0", "values": {"0": {"functionInvocationValue": {"functionName": "GeometryConstructors.Polygon", "arguments": {"coordinates": {"constantValue": [[[-113.2053895191826, 41.82208938845069], [-113.2053895191826, 40.5655604972739], [-111.7002625660576, 40.5655604972739], [-111.7002625660576, 41.82208938845069]]]}, "geodesic": {"constantValue": false}}}}}},{},'Great Salt Lake Example Area for JRC Water Time Lapse (double click to zoom to)',false);
Map2.addSerializedLayer({"result": "0", "values": {"0": {"functionInvocationValue": {"functionName": "GeometryConstructors.Polygon", "arguments": {"coordinates": {"constantValue": [[[104.48008284838329, 13.365070792606891], [104.48008284838329, 12.218730827637675], [106.08683333666454, 12.218730827637675], [106.08683333666454, 13.365070792606891]]]}, "geodesic": {"constantValue": false}}}}}},{},'Cambodia Example Area for Hansen Loss Time Lapse (double click to zoom to)',false);
Map2.addSerializedLayer({"result": "0", "values": {"0": {"functionInvocationValue": {"functionName": "GeometryConstructors.Polygon", "arguments": {"coordinates": {"constantValue": [[[-107.5198171213165, 38.080864394376015], [-107.5198171213165, 37.40759534811328], [-106.6189382150665, 37.40759534811328], [-106.6189382150665, 38.080864394376015]]]}, "geodesic": {"constantValue": false}}}}}},{},'Rio Grande National Forest Example Area for LCMS Loss Time Lapse (double click to zoom to)',true);
Map2.addSerializedTimeLapse({"result": "0", "values": {"0": {"functionInvocationValue": {"functionName": "ImageCollection.load", "arguments": {"id": {"constantValue": "JRC/GSW1_0/YearlyHistory"}}}}}},{"addToClassLegend": true, "classLegendDict": {"1 Not Water": "ffffff", "2 Seasonal Water": "99d9ea", "3 Permanent Water": "0000ff"}, "max": 3, "min": 1, "palette": ["ffffff", "99d9ea", "0000ff"], "queryDict": {"1": "1 Not Water", "2": "2 Seasonal Water", "3": "3 Permanent Water"}},'JRC Surface Water Time Lapse',false);
Map2.addSerializedTimeLapse({"result": "0", "values": {"2": {"functionInvocationValue": {"functionName": "Image.constant", "arguments": {"value": {"argumentReference": "_MAPPING_VAR_0_0"}}}}, "1": {"functionInvocationValue": {"functionName": "Element.set", "arguments": {"key": {"constantValue": "system:time_start"}, "object": {"functionInvocationValue": {"functionName": "Image.updateMask", "arguments": {"image": {"valueReference": "2"}, "mask": {"functionInvocationValue": {"functionName": "Image.eq", "arguments": {"image1": {"functionInvocationValue": {"functionName": "Image.int16", "arguments": {"value": {"functionInvocationValue": {"functionName": "Image.add", "arguments": {"image1": {"functionInvocationValue": {"functionName": "Image.select", "arguments": {"bandSelectors": {"constantValue": ["lossyear"]}, "input": {"functionInvocationValue": {"functionName": "Image.load", "arguments": {"id": {"constantValue": "UMD/hansen/global_forest_change_2018_v1_6"}}}}}}}, "image2": {"functionInvocationValue": {"functionName": "Image.constant", "arguments": {"value": {"constantValue": 2000}}}}}}}}}}, "image2": {"valueReference": "2"}}}}}}}, "value": {"functionInvocationValue": {"functionName": "Date.millis", "arguments": {"date": {"functionInvocationValue": {"functionName": "Date.fromYMD", "arguments": {"day": {"constantValue": 1}, "month": {"constantValue": 6}, "year": {"argumentReference": "_MAPPING_VAR_0_0"}}}}}}}}}}, "0": {"functionInvocationValue": {"functionName": "ImageCollection.fromImages", "arguments": {"images": {"functionInvocationValue": {"functionName": "List.map", "arguments": {"baseAlgorithm": {"functionDefinitionValue": {"argumentNames": ["_MAPPING_VAR_0_0"], "body": "1"}}, "list": {"functionInvocationValue": {"functionName": "List.sequence", "arguments": {"end": {"constantValue": 2018}, "start": {"constantValue": 2001}}}}}}}}}}}},{"max": 2018, "min": 2001, "palette": "ffffe5,fff7bc,fee391,fec44f,fe9929,ec7014,cc4c02", "years": [2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018]},'Hansen Loss Time Lapse',true);
Map2.addSerializedTimeLapse({"result": "0", "values": {"2": {"functionInvocationValue": {"functionName": "Number.int16", "arguments": {"input": {"argumentReference": "_MAPPING_VAR_0_0"}}}}, "1": {"functionInvocationValue": {"functionName": "Element.set", "arguments": {"key": {"constantValue": "system:time_start"}, "object": {"functionInvocationValue": {"functionName": "Image.int16", "arguments": {"value": {"functionInvocationValue": {"functionName": "Image.updateMask", "arguments": {"image": {"functionInvocationValue": {"functionName": "Image.constant", "arguments": {"value": {"valueReference": "2"}}}}, "mask": {"functionInvocationValue": {"functionName": "Image.gte", "arguments": {"image1": {"functionInvocationValue": {"functionName": "ImageCollection.mosaic", "arguments": {"collection": {"functionInvocationValue": {"functionName": "Collection.filter", "arguments": {"collection": {"functionInvocationValue": {"functionName": "ImageCollection.load", "arguments": {"id": {"constantValue": "projects/LCMS/CONUS_Products/v20200120"}}}}, "filter": {"functionInvocationValue": {"functionName": "Filter.calendarRange", "arguments": {"end": {"valueReference": "2"}, "field": {"constantValue": "year"}, "start": {"valueReference": "2"}}}}}}}}}}, "image2": {"functionInvocationValue": {"functionName": "Image.constant", "arguments": {"value": {"constantValue": 30}}}}}}}}}}}}}, "value": {"functionInvocationValue": {"functionName": "Date.millis", "arguments": {"date": {"functionInvocationValue": {"functionName": "Date.fromYMD", "arguments": {"day": {"constantValue": 1}, "month": {"constantValue": 6}, "year": {"valueReference": "2"}}}}}}}}}}, "0": {"functionInvocationValue": {"functionName": "ImageCollection.fromImages", "arguments": {"images": {"functionInvocationValue": {"functionName": "List.map", "arguments": {"baseAlgorithm": {"functionDefinitionValue": {"argumentNames": ["_MAPPING_VAR_0_0"], "body": "1"}}, "list": {"functionInvocationValue": {"functionName": "List.sequence", "arguments": {"end": {"constantValue": 2019}, "start": {"constantValue": 1985}}}}}}}}}}}},{"max": 2019, "min": 1985, "palette": "ffffe5,fff7bc,fee391,fec44f,fe9929,ec7014,cc4c02", "years": [1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019]},'LCMS Loss Time Lapse',true);
synchronousCenterObject({"geodesic": false, "type": "Polygon", "coordinates": [[[-107.5198171213165, 37.40759534811328], [-106.6189382150665, 37.40759534811328], [-106.6189382150665, 38.080864394376015], [-107.5198171213165, 38.080864394376015], [-107.5198171213165, 37.40759534811328]]]})
}