ol.geom.polygon documentation update: linear rings rules
This commit is contained in:
@@ -26,8 +26,12 @@ goog.require('ol.math');
|
|||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.geom.SimpleGeometry}
|
* @extends {ol.geom.SimpleGeometry}
|
||||||
* @param {Array.<Array.<ol.Coordinate>>} coordinates Coordinates of the
|
* @param {Array.<Array.<ol.Coordinate>>} coordinates Array of linear
|
||||||
* vertices of the polygon where the first coordinate and the last are equivalent.
|
* rings that define the polygon. The first linear ring of the array
|
||||||
|
* defines the outer-boundary or surface of the polygon. Each subsequent
|
||||||
|
* linear ring defines a hole in the surface of the polygon. A linear ring
|
||||||
|
* is an array of vertices' coordinates where the first coordinate and the
|
||||||
|
* last are equivalent.
|
||||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user