new WKT
- Source:
- wkt.js, line 21
Methods
-
<static> read
-
Parse a WKT string.
Parameters:
Name Type Description str
string WKT string.
- Source:
- wkt.js, line 354
Returns:
Parsed geometry.
- Type
- ol.geom.Geometry | undefined
-
<static> write
-
Write out a geometry as a WKT string.
Parameters:
Name Type Description geom
ol.geom.Geometry The geometry to encode.
- Source:
- wkt.js, line 364
Returns:
WKT for the geometry.
- Type
- string
-
read
-
Parse a WKT string.
Parameters:
Name Type Description str
string WKT string.
- Source:
- wkt.js, line 334
Returns:
Parsed geometry.
- Type
- ol.geom.Geometry | undefined
-
write
-
Write out a geometry as a WKT string.
Parameters:
Name Type Description geom
ol.geom.Geometry The geometry to encode.
- Source:
- wkt.js, line 344
Returns:
WKT for the geometry.
- Type
- string