diff --git a/src/ol/geom/polygon.js b/src/ol/geom/polygon.js index 55a437c19c..a698534473 100644 --- a/src/ol/geom/polygon.js +++ b/src/ol/geom/polygon.js @@ -26,8 +26,12 @@ goog.require('ol.math'); * * @constructor * @extends {ol.geom.SimpleGeometry} - * @param {Array.>} coordinates Coordinates of the - * vertices of the polygon where the first coordinate and the last are equivalent. + * @param {Array.>} coordinates Array of linear + * 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. * @api stable */