Index: src/Common/SharpMap.Api/IMap.cs =================================================================== diff -u -rd505e5545e25721aee2dfb60bc2a27ab1878a0ad -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/SharpMap.Api/IMap.cs (.../IMap.cs) (revision d505e5545e25721aee2dfb60bc2a27ab1878a0ad) +++ src/Common/SharpMap.Api/IMap.cs (.../IMap.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -134,6 +134,16 @@ string Name { get; set; } bool HasDefaultEnvelopeSet { get; } + bool IsDisposing { get; } + + /// + /// Replacing layer is used, because we cannot use Layers[i] = layer. + /// This is because there are a lot of places that have a NotImplementedException when + /// a replace event in the collection occurs. + /// HACK + /// + bool ReplacingLayer { get; } + void ClearImage(); /// @@ -171,9 +181,9 @@ IGroupLayer GetGroupLayerContainingLayer(ILayer childLayer); void DoWithLayerRecursive(ILayer layer, Action action); - + IEnumerable GetAllLayers(bool includeGroupLayers); - + IEnumerable GetAllVisibleLayers(bool includeGroupLayers); /// @@ -195,7 +205,7 @@ void SendToBack(ILayer layer); void SendBackward(ILayer layer); - + void BringForward(ILayer layer); /// @@ -245,17 +255,7 @@ object Clone(); - bool IsDisposing { get; } - /// - /// Replacing layer is used, because we cannot use Layers[i] = layer. - /// This is because there are a lot of places that have a NotImplementedException when - /// a replace event in the collection occurs. - /// HACK - /// - bool ReplacingLayer { get; } - - /// /// Replace a layer with another layer. /// This function is created, because we can't simply call Layer[i] = layer; ///