Skip to content

Commit da5a009

Browse files
committed
Add Longtitude property for backwards compatbility
1 parent 35250e7 commit da5a009

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Nest/Domain/Geo/GeoLocation.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ public class GeoLocation : IEquatable<GeoLocation>, IFormattable
1818
public double Latitude { get { return _latitude; } }
1919
private readonly double _latitude;
2020

21+
/// <summary>
22+
/// Longitude
23+
/// </summary>
24+
[Obsolete("Use the Longitude property")]
25+
public double Longtitude { get { return Longitude; } }
26+
2127
/// <summary>
2228
/// Longitude
2329
/// </summary>

0 commit comments

Comments
 (0)