GeoPoint3m constructor
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,
});