Skip to content

Commit f93adc8

Browse files
committed
Update documentation related to the Identify tool (use of ChooseLayer event rather than ActiveLayer property)
1 parent 703837d commit f93adc8

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

docs/Interop.MapWinGIS/Com Classes/Identifier.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ public class Identifier
3434
/// </summary>
3535
public uint OutlineColor { get; set; }
3636

37-
/// <summary>
38-
/// Gets or sets the handle of active layer, which is used when Identifer.IdentifierMode set to imSingleLayer.
39-
/// </summary>
40-
public int ActiveLayer { get; set; }
37+
///// <summary>
38+
///// Gets or sets the handle of active layer, which is used when Identifer.IdentifierMode set to imSingleLayer.
39+
///// NOTE: this method has been hidden, and functionality replaced through use of the ChooseLayer event.
40+
///// </summary>
41+
//public int ActiveLayer { get; set; }
4142
}
4243
#if nsp
4344
}

docs/Interop.MapWinGIS/Enumerations/Enumerations.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2368,9 +2368,14 @@ public enum tkIdentifierMode
23682368
/// </summary>
23692369
imAllLayers = 0,
23702370
/// <summary>
2371-
/// Only shapefile defined by Identifier.ActiveLayer will be identified.
2371+
/// Only shapefile specified in the context of AxMap.ChooseLayer event will be analyzed.
23722372
/// </summary>
23732373
imSingleLayer = 1,
2374+
/// <summary>
2375+
/// All shapefile layers with Shapefile.Identifiable property set to true will be analyzed,
2376+
/// but search will stop following the first (topmost) layer for which shapes are found.
2377+
/// </summary>
2378+
imAllLayersStopOnFirst = 2,
23742379
}
23752380

23762381
/// <summary>

0 commit comments

Comments
 (0)