Please see the attached project. To sum up, I am using two map controls currently and instantiating a ShapeFileFeatureLayer for the first map control and then using .CloneDeep to create a copy of it to add to the second map control.
I would like to add a feature to the second map control that shows me the viewable extents of my first map control.
I receive a Parameter is not valid error on map2.refresh. I am trying to utilize the map1.CurrentExtentChanged to create and re-create the viewable extent feature representation.
I am using build 341
912-TestCloneDeep.zip (117 KB)