GeoCoord class

A pair of latitude and longitude coordinates in degrees

World-wrapping supported - if you pass coordinates outside of the bounds (-180, 180 for longitude and -90, 90 for latitude) they will be converted.

Available Extensions

Constructors

GeoCoord({required double lon, required double lat})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
lat double
final
lon double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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