diff --git a/src/Appy.Spatial.GeoJSON/LatLng.cs b/src/Appy.Spatial.GeoJSON/LatLng.cs index 2aed527..2712c54 100644 --- a/src/Appy.Spatial.GeoJSON/LatLng.cs +++ b/src/Appy.Spatial.GeoJSON/LatLng.cs @@ -14,7 +14,7 @@ public class LatLngComparer : IEqualityComparer { public bool Equals(LatLng x, LatLng y) => x == null && y == null || - x != null && y != null && x.Latitude.Equals(y.Latitude) && x.Longitude.Equals(y.Latitude); + x != null && y != null && x.Latitude.Equals(y.Latitude) && x.Longitude.Equals(y.Longitude); public int GetHashCode(LatLng obj) => obj.Latitude.GetHashCode() +