Geo Location
Represents the geographic location of a point on a map using a spherical coordinate system.
Constructors
Functions
Calculates a hash code for this GeoLocation object. This method excludes the id field from the hash code calculation. The hash code is based on the latitude and longitude values to ensure objects with the same location have the same hash code. This is important for efficient use in hash-based collections.
Creates a degenerate bounding box (with zero area) by setting both southwest and northeast corners to this GeoLocation. A single GeoLocation doesn't define an area in the traditional bounding box sense.
Converts the GeoLocation into the GeoLocationEntity with an association to an administrative unit name.
Converts the GeoLocation into the GeoLocationEntity, optionally associating it with an image.
Converts the GeoLocation into the GeoLocationEntity, optionally associating it with an image, and using a provided ID.
Converts the GeoLocation model into the view object GeoLocationViewData used to represent geo locations in the UI.
Checks if the antimeridian (longitude 180°) was crossed between this longitude and the provided one.