Section navigation

Public structRead-only LeanGeoLocation

Namespace
Rowles.LeanCorpus.Mapping
Assembly
Rowles.LeanCorpus.dll

Canonical geo-point payload used by the LeanCorpus source generator when mapping properties annotated with [LeanGeoPoint]. Generated mappers project this type to a GeoPointField.

public readonly record struct LeanGeoLocation : IEquatable<LeanGeoLocation>
Implements

Public constructor LeanGeoLocation(double, double)

Canonical geo-point payload used by the LeanCorpus source generator when mapping properties annotated with [LeanGeoPoint]. Generated mappers project this type to a GeoPointField.

Public property Latitude

Latitude in decimal degrees in the range [-90, 90].

Public property Longitude

Longitude in decimal degrees in the range [-180, 180].