GeoCoordinate class final

One position. X is easting or longitude. Y is northing or latitude.

Constructors

GeoCoordinate(double x, double y, {double? z, double? m})
Rejects a non-finite component. -0.0 is stored as 0.0.
GeoCoordinate.geographic({required double longitude, required double latitude, double? z, double? m})
Longitude in x and latitude in y. Nothing is swapped.

Properties

dimension → GeoDimension
Axes present on this position.
no setter
hashCode → int
The hash code for this object.
no setteroverride
m → double?
Measure, or null when the position is XY or XYZ.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → double
Easting, longitude, or projected X.
final
y → double
Northing, latitude, or projected Y.
final
z → double?
Elevation, or null when the position is XY or XYM.
final

Methods

equalsExact(GeoCoordinate other) → bool
Exact axis equality, including null Z or M.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override