LatLongConverter class

Constructors

LatLongConverter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDecimalFromDegree(double deg, double min, double sec) double
Returns the decimal value of a lat or long coordinate given its degrees minutes and seconds
getDegreeFromDecimal(double dec) → dynamic
Returns the degrees minutes and seconds of a coordinate given its decimal value
getLatLongFromOSGB(int easting, int northing, [dynamic datum]) LatLong
Returns a latitude and longitude value in a given datum (default WGS84) for a given easting and northing value
getLatLongFromOSGBLetterRef(String letterRef, [dynamic datum]) LatLong
Returna a latitude and longitude value in a given datum (default WGS84) for a given letter reference value (e.g. TG 51409 13177)
getOSGBfromDec(double lat, double long, [dynamic datum]) OSRef
Returns the easting and northing values of an OS Grid Reference given the decimal latitude and longitude values
getOSGBfromDms(double latdeg, double latmin, double latsec, double longdeg, double longmin, double longsec, [dynamic datum]) OSRef
Returns the easting and northing values of an OS Grid Reference given the degrees, minutes and seconds of latitude and longitude values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited