Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/Views/HeightStructuresFailureMechanismView.cs =================================================================== diff -u -r1d7f9c7875b22fe69fd5b1a32b2bc817dd6cf192 -r11eb517ba7a480b4a415855798a7fadefc0cfe54 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/Views/HeightStructuresFailureMechanismView.cs (.../HeightStructuresFailureMechanismView.cs) (revision 1d7f9c7875b22fe69fd5b1a32b2bc817dd6cf192) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/Views/HeightStructuresFailureMechanismView.cs (.../HeightStructuresFailureMechanismView.cs) (revision 11eb517ba7a480b4a415855798a7fadefc0cfe54) @@ -132,7 +132,7 @@ calculationGroupObserver.Observable = null; calculationObserver.Observable = null; - mapControl.RemoveAllData(); + ringtoetsMapControl.RemoveAllData(); } else { @@ -148,8 +148,7 @@ SetMapDataFeatures(); - mapControl.Data = mapDataCollection; - mapControl.BackgroundData = data.Parent.BackgroundData; + ringtoetsMapControl.SetAllData(mapDataCollection, data.Parent.BackgroundData); } } } @@ -158,7 +157,7 @@ { get { - return mapControl; + return ringtoetsMapControl.MapControl; } } @@ -179,7 +178,7 @@ } base.Dispose(disposing); } - + private void UpdateMapData() { SetMapDataFeatures();