GeoPoint3m.from constructor
A geographic position from coords
, given in order: lon, lat, elev, m.
Implementation
factory GeoPoint3m.from(Iterable<num> coords, {int? offset}) {
final start = offset ?? 0;
return GeoPoint3m.lonLatElevM(
coords.elementAt(start).toDouble(),
coords.elementAt(start + 1).toDouble(),
coords.elementAt(start + 2).toDouble(),
coords.elementAt(start + 3).toDouble(),
);
}