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