JMap.Geometry.getFeatureFromWkt
Returns a GeoJSON feature from a Well-Known Text geometry representation.
a Well-Known Text geometry
if the passed WKT is invalid
const wktPolygon = "POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))"// The method will return a polygon featureconst polygonFeature = JMap.Geometry.getFeatureFromWkt(wkt) Copy
const wktPolygon = "POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))"// The method will return a polygon featureconst polygonFeature = JMap.Geometry.getFeatureFromWkt(wkt)
JMap.Geometry.getFeatureFromWkt
Returns a GeoJSON feature from a Well-Known Text geometry representation.