GeoData class
Stores location data.
Please inherit and use it.
- Annotations
Constructors
- GeoData()
-
Stores location data.
const
Properties
- hash → String
-
Hash of GeoData.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- latitude → double
-
Latitude.
no setter
- longitude → double
-
Longitude.
no setter
- name → String
-
Location name.
no setter
-
neighbors
→ List<
String> -
All neighbors of GeoData.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
direction(
GeoData target) → double - Calculate the direction between tow points.
-
distance(
GeoData data) → double - Calculate the distance between two points.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
regionHash(
[double radius = 1.0]) → List< String> -
Returns a hash list in the area by passing
radius
. -
toString(
) → String -
Returns a string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override