Coordinate class
A class for storing information of coordinate
The geographic coordinate system (GCS) is a spherical or ellipsoidal coordinate system for measuring and communicating positions directly on the Earth as latitude and longitude.
It is the simplest, oldest and most widely used of the thousands of spatial reference systems that are in use, and forms the basis for most others.
Constructors
- Coordinate({required double latitude, required double longitude})
-
Creates coordinate
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- latitude → double
-
In geography, latitude is a geographic coordinate that specifies the
north–south position of a point on the Earth's surface. Latitude is an
angle (defined below) which ranges from 0° at the Equator to 90°
(North or South) at the poles.
final
- longitude → double
-
Longitude is a geographic coordinate that specifies the east–west position
of a point on the Earth's surface, or the surface of a celestial body.
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