GeoPoint3m constructor

const GeoPoint3m({
  1. required double lon,
  2. required double lat,
  3. double elev = 0.0,
  4. double m = 0.0,
})

A geographic position from lon, lat, elev and m.

Longitude is normalized to the range [-180.0, 180.0[ using the formula (lon + 180.0) % 360.0 - 180.0 and latitude is clamped to the range [-90.0, 90.0].

Implementation

const GeoPoint3m({
  required super.lon,
  required super.lat,
  super.elev,
  this.m = 0.0,
});