LatLongEllipsodial class
Constructors
LatLongEllipsodial (dynamic la , dynamic lo , dynamic h , Map <String , Object > datum )
Creates a new Lat Long object with a given latitude and longitude in decimal form
LatLongEllipsodial.fromDms (dynamic latdeg , dynamic latmin , dynamic latsec , dynamic longdeg , dynamic longmin , dynamic longsec , dynamic h , Map <String , Object > datum )
Creates a new Lat Long object with a given latitude and longitude in degrees, minutes and seconds form
LatLongEllipsodial.fromJson (Map <String , dynamic > json )
Creates a new Lat Long object from a given JSON object
Properties
datum
↔ Map <String , Object >
The datum that the latitude and longitude coordinates use
getter/setter pair
datums
→ Map <String , Map <String , Object > >
The different datums used around the world. These contain the ellipsoid that each datum uses and the transform that is used on each latitude and longitude.
I'm sure that there are datums that aren't listed here, if you would like a datum included that isn't listed please get in touch with the ellipsoid and transform parameters.
final
ellipsoids
→ Map <String , Map <String , num > >
The different ellipsoids that are used by each datum. These are used when converting cartesian coordinates between datums.
final
hashCode
→ int
The hash code for this object.
no setter inherited
height
↔ dynamic
The height (or altitude) of the coordinate
getter/setter pair
lat
↔ dynamic
The latitude value of the coordinate
getter/setter pair
long
↔ dynamic
The longitude value of the coordinate
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
getDatums ()
→ dynamic
Returns the list of datums
getDecimalFromDegree (double deg , double min , double sec )
→ dynamic
Returns the decimal value of a lat or long coordinate given its degrees minutes and seconds
getEllipsoids ()
→ dynamic
Returns the list of ellipsoids
getHeight ()
→ dynamic
Returns this object's height value
getLat ()
→ dynamic
Returns this object's latitude value
getLon ()
→ dynamic
Returns this object's longitude value
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCartesian ()
→ dynamic
Converts the lat long values to cartesian coordinates
toJson ()
→ Map <String , dynamic >
Converts the LatLong object into JSON (latitude and longitudes are in decimal)
toString ()
→ String
A string representation of this object.
inherited