GlobalPoint class
A point at the specified WGS84 coordinates. Referenced from GeometryUtils, NavigationManager, Position, Sublocation.
Example:
// Create global points with latitude, longitude
GlobalPoint globalPoint1 = GlobalPoint(55.7558, 37.6176); // Moscow
GlobalPoint globalPoint2 = GlobalPoint(59.9311, 30.3609); // St. Petersburg
GlobalPoint globalPoint3 = GlobalPoint(55.7522, 37.6156); // Moscow center
print("Created global points: GP1(${globalPoint1.latitude}, ${globalPoint1.longitude}), GP2(${globalPoint2.latitude}, ${globalPoint2.longitude})");
Constructors
- GlobalPoint(double latitude, double longitude)
- Default constructor.
Properties
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