JMap.Geometry.getFeatureFromPolygon
Returns a polygon feature from a polygon array (JPolygon).
A polygon array
const polygon = [[ 10, 12], [12, 23], [34, 12], [ 10, 12]]// The method will return a polygon featureconst feature = JMap.Geometry.getFeatureFromPolygon(line) Copy
const polygon = [[ 10, 12], [12, 23], [34, 12], [ 10, 12]]// The method will return a polygon featureconst feature = JMap.Geometry.getFeatureFromPolygon(line)
JMap.Geometry.getFeatureFromPolygon
Returns a polygon feature from a polygon array (JPolygon).