Skip to content

Commit 4e90972

Browse files
committed
Merge branch 'release/v5.1.1.1'
2 parents 304a974 + 69f4c2e commit 4e90972

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+5717
-6093
lines changed

docs/AxInterop.MapWinGIS/AxMap.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,6 +2319,18 @@ public virtual bool SetGeographicExtents(Extents pVal)
23192319
/// \new491 Added in version 4.9.1
23202320
public float Longitude { get; set; }
23212321

2322+
/// <summary>
2323+
/// Sets the Latitude and Longitude of the center of the screen in one operation
2324+
/// </summary>
2325+
/// <param name="latitude">Requested Latitude in decimal degrees</param>
2326+
/// <param name="longitude">Requested Longitude in decimal degrees</param>
2327+
/// <remarks>Map projection must be set in order for this method to work.</remarks>
2328+
/// \new510 Added in version 5.1.0
2329+
public void SetLatitudeLongitude(double latitude, double longitude)
2330+
{
2331+
throw new NotImplementedException();
2332+
}
2333+
23222334
/// <summary>
23232335
/// Gets or sets the current zoom level for the map. It corresponds to the zoom level of current tile provider.
23242336
/// </summary>

docs/Examples/src/CalculateArea.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void CalculateArea(AxMap axMap1, string dataPath)
6767
}
6868

6969
//adding the new field in the end of the table
70-
fldIndex = sf.EditAddField("CalcArea", FieldType.DOUBLE_FIELD, 12, 12);
70+
fldIndex = sf.EditAddField("CalcArea", FieldType.DOUBLE_FIELD, 9, 12);
7171
if (fldIndex == -1)
7272
{
7373
MessageBox.Show("Failed to insert field: " + sf.ErrorMsg[sf.LastErrorCode]);

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)