VietmapUtils class

Constructors

VietmapUtils()

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

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

Static Methods

distance2point(LatLng p1, LatLng p2) Future<double>
calculate distance between 2 points on the earth surface using Haversine formula with the earth radius is 6371e3 p1 : (LatLng) first point p2 : (LatLng) second point return : (Future
sqrtCos(num x) double
calculate square of cos : cos² x : (num) number that you want to calculate it's cos²
sqrtCos2(num x, num y) double
calculate multiplication of cos : cos x * cos y x : (num) number of the first cos x : (num) number of second cos
sqrtSin(num x) double
calculate square of sin : sin² x : (num) number that you want to calculate it's sin²