GeoPoint3m.parse constructor
GeoPoint3m.parse(
- String text, {
- ParseCoords? parser,
A point parsed from text
with coordinates in order: lon, lat, elev, m.
If parser
is null, then WKT text
like "10.0 20.0 30.0 5" is expected.
Throws FormatException if cannot parse.
Implementation
factory GeoPoint3m.parse(String text, {ParseCoords? parser}) => parser != null
? GeoPoint3m.from(parser.call(text))
: parseWktPoint<GeoPoint3m>(text, GeoPoint3m.coordinates);