new LinearRing(coordinates, opt_layout)
geom/LinearRing.js, line 21
Name | Type | Description |
---|---|---|
coordinates |
Array.<module:ol/coordinate~Coordinate> | Array.<number> |
Coordinates.
For internal use, flat coordinates in combination with |
layout |
module:ol/geom/GeometryLayout |
Layout. |
Methods
-
Make a complete copy of the geometry.
Returns:
Clone.
-
getArea(){number}
geom/LinearRing.js, line 84 -
Return the area of the linear ring on projected plane.
Returns:
Area (on projected plane).
-
Return the coordinates of the linear ring.
Returns:
Coordinates.
-
getType()
geom/LinearRing.js, line 114 -
-
setCoordinates(coordinates, opt_layout)
geom/LinearRing.js, line 130 -
Set the coordinates of the linear ring.
Name Type Description coordinates
Array.<module:ol/coordinate~Coordinate> Coordinates.
layout
module:ol/geom/GeometryLayout Layout.